public class HeatBehaviourHeatFrame extends HeatBehaviour<net.minecraft.tileentity.TileEntity>
| Constructor and Description |
|---|
HeatBehaviourHeatFrame() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.ResourceLocation |
getId()
Unique id for this behaviour, also used in NBT saving.
|
HeatBehaviour<?> |
initialize(IHeatExchangerLogic connectedHeatLogic,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.Direction direction)
This method is called by the connected
IHeatExchangerLogic when it initialises itself as a hull
heat exchanger; this happens when the owning tile entity gets a neighbor block update. |
boolean |
isApplicable()
Return true when this heat behaviour is applicable for this coordinate.
|
void |
tick()
Called every tick to update this behaviour.
|
deserializeNBT, equals, getBlockState, getDirection, getHeatExchanger, getPos, getTileEntity, getWorld, hashCode, serializeNBTpublic HeatBehaviour<?> initialize(IHeatExchangerLogic connectedHeatLogic, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos, net.minecraft.util.Direction direction)
HeatBehaviourIHeatExchangerLogic when it initialises itself as a hull
heat exchanger; this happens when the owning tile entity gets a neighbor block update. You can override
and extend this method, but be sure to call the super method!initialize in class HeatBehaviour<net.minecraft.tileentity.TileEntity>connectedHeatLogic - the connected heat exchanger logicworld - the worldpos - block pos of the owning tile entitydirection - direction of this behaviour (from the tile entity's point of view)public net.minecraft.util.ResourceLocation getId()
HeatBehaviourgetId in class HeatBehaviour<net.minecraft.tileentity.TileEntity>public boolean isApplicable()
HeatBehaviourisApplicable in class HeatBehaviour<net.minecraft.tileentity.TileEntity>public void tick()
HeatBehaviourtick in class HeatBehaviour<net.minecraft.tileentity.TileEntity>