@FunctionalInterface
public interface IHeatExchangingTE
| Modifier and Type | Method and Description |
|---|---|
default IHeatExchangerLogic |
getHeatExchanger()
Get the heat exchanger on the null or default face.
|
IHeatExchangerLogic |
getHeatExchanger(net.minecraft.util.Direction dir)
Get the heat exchanger on the given face.
|
default java.util.function.BiPredicate<net.minecraft.world.IWorld,net.minecraft.util.math.BlockPos> |
heatExchangerBlockFilter()
Should this (heat-using) machine lose heat to the surrounding air blocks? Most blocks do.
|
default void |
initHeatExchangersOnPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Initialize this TE's hull heat exchanger to the ambient temperature, when the block is first placed down.
|
default void |
initializeHullHeatExchangers(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Discover heat exchangers by side for this block, and initialize each distinct heat exchanger with the side
that it is connected to.
|
default boolean |
shouldShowGuiHeatTab() |
@Nullable IHeatExchangerLogic getHeatExchanger(net.minecraft.util.Direction dir)
dir - the side of the block to check, or null for the default/primary heat exchangerdefault IHeatExchangerLogic getHeatExchanger()
default java.util.function.BiPredicate<net.minecraft.world.IWorld,net.minecraft.util.math.BlockPos> heatExchangerBlockFilter()
default void initHeatExchangersOnPlacement(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
world - the TE's worldpos - the TE's block posdefault void initializeHullHeatExchangers(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
world - the TE's worldpos - the TE's block posdefault boolean shouldShowGuiHeatTab()