Class HeatBehaviourFurnace
java.lang.Object
me.desht.pneumaticcraft.api.heat.HeatBehaviour
me.desht.pneumaticcraft.common.heat.behaviour.HeatBehaviourFurnace
- All Implemented Interfaces:
net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.desht.pneumaticcraft.api.heat.HeatBehaviour
deserializeNBT, equals, getBlockState, getCachedTileEntity, getDirection, getHeatExchanger, getPos, getWorld, hashCode, initialize, serializeNBT
-
Constructor Details
-
HeatBehaviourFurnace
public HeatBehaviourFurnace()
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId()Description copied from class:HeatBehaviourUnique id for this behaviour, also used in NBT saving.- Specified by:
getIdin classHeatBehaviour- Returns:
- a unique ID
-
isApplicable
public boolean isApplicable()Description copied from class:HeatBehaviourReturn true when this heat behaviour is applicable for this coordinate. World access methods can be used here (getWorld(), getPos(), getBlockState(), getTileEntity()).- Specified by:
isApplicablein classHeatBehaviour- Returns:
- true if this behaviour is applicable here
-
tick
public void tick()Description copied from class:HeatBehaviourCalled every tick to update this behaviour.- Specified by:
tickin classHeatBehaviour
-