Search in sources :

Example 6 with HazardousFluid

use of com.dreammaster.modhazardousitems.HazardousItems.HazardousFluid in project NewHorizonsCoreMod by GTNewHorizons.

the class HazardousObjectFactory method createHazardousFluid.

public HazardousFluid createHazardousFluid(String pFluidName, boolean pExactMatch, boolean pOnContact, boolean pOnInventory) {
    HazardousFluid hi = new HazardousFluid();
    hi.setFluidName(pFluidName);
    hi.setExactMatch(pExactMatch);
    hi.setCheckInventory(pOnInventory);
    hi.setCheckContact(pOnContact);
    return hi;
}
Also used : HazardousFluid(com.dreammaster.modhazardousitems.HazardousItems.HazardousFluid)

Aggregations

HazardousFluid (com.dreammaster.modhazardousitems.HazardousItems.HazardousFluid)6 HazardousItem (com.dreammaster.modhazardousitems.HazardousItems.HazardousItem)5 ItmDamageEffect (com.dreammaster.modhazardousitems.HazardousItems.ItmDamageEffect)2 ItmPotionEffect (com.dreammaster.modhazardousitems.HazardousItems.ItmPotionEffect)2 UniqueIdentifier (cpw.mods.fml.common.registry.GameRegistry.UniqueIdentifier)1 Block (net.minecraft.block.Block)1 ItemStack (net.minecraft.item.ItemStack)1 NBTTagCompound (net.minecraft.nbt.NBTTagCompound)1 IFluidContainerItem (net.minecraftforge.fluids.IFluidContainerItem)1