public class TileEntityHeatPipe extends TileEntityTickableBase implements ICamouflageableTE, IHeatExchangingTE
TileEntityBase.UpgradeHandler| Constructor and Description |
|---|
TileEntityHeatPipe() |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.block.BlockState |
getCamouflage()
Get the camouflage state; the blockstate which will be used to render this tile entity's block.
|
net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> |
getHeatCap(net.minecraft.util.Direction side) |
IHeatExchangerLogic |
getHeatExchanger(net.minecraft.util.Direction dir)
Get the heat exchanger on the given face.
|
net.minecraftforge.items.IItemHandler |
getPrimaryInventory() |
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.
|
protected void |
onFirstServerTick() |
void |
onNeighborBlockUpdate(net.minecraft.util.math.BlockPos fromPos)
Called when a neighboring block changes state (i.e.
|
void |
readFromPacket(net.minecraft.nbt.CompoundNBT tag)
Encoded into the description packet.
|
void |
setCamouflage(net.minecraft.block.BlockState state)
Set the camouflage for the tile entity.
|
void |
updateConnections() |
void |
writeToPacket(net.minecraft.nbt.CompoundNBT tag)
Encoded into the description packet.
|
tickaddLuaMethods, clearCache, countPlayersUsing, getApplicableUpgrades, getCachedNeighbor, getCapability, getContentsToDrop, getCurrentRecipeIdSynced, getCustomName, getDescriptionFields, getDisplayName, getInventoryCap, getLuaMethodRegistry, getModelData, getName, getPeripheralType, getPosition, getRotation, getSpeedMultiplierFromUpgrades, getSpeedUsageMultiplierFromUpgrades, getUpdateTag, getUpgradeAcceptorTranslationKey, getUpgradeCache, getUpgradeHandler, getUpgrades, handleGUIButtonPress, handleUpdateTag, isGuiUseableByPlayer, load, onBlockRotated, onDescUpdate, onGuiUpdate, onNeighborTileUpdate, onUpgradesChanged, requestModelDataUpdate, save, sendDescriptionPacket, serializeExtraItemData, setCustomName, setPreserveStateOnBreak, setRemoved, shouldPreserveStateOnBreak, shouldRerenderChunkOnDescUpdate, shouldSyncField, updateNeighboursclearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStackForState, readCamo, syncToClient, writeCamogetHeatExchanger, initHeatExchangersOnPlacement, initializeHullHeatExchangers, shouldShowGuiHeatTabpublic net.minecraftforge.items.IItemHandler getPrimaryInventory()
getPrimaryInventory in class TileEntityBasepublic net.minecraftforge.common.util.LazyOptional<IHeatExchangerLogic> getHeatCap(net.minecraft.util.Direction side)
getHeatCap in class TileEntityBasepublic java.util.function.BiPredicate<net.minecraft.world.IWorld,net.minecraft.util.math.BlockPos> heatExchangerBlockFilter()
IHeatExchangingTEheatExchangerBlockFilter in interface IHeatExchangingTEprotected void onFirstServerTick()
onFirstServerTick in class TileEntityBasepublic void onNeighborBlockUpdate(net.minecraft.util.math.BlockPos fromPos)
TileEntityBaseonNeighborBlockUpdate in class TileEntityBasefromPos - the blockpos of the block that caused this updatepublic void updateConnections()
public void writeToPacket(net.minecraft.nbt.CompoundNBT tag)
TileEntityBaseTileEntityBase#write(CompoundNBT)
Prefer to use @DescSynced where possible - use this either for complex fields not handled by @DescSynced,
or for non-ticking tile entities.writeToPacket in interface IDescSyncedwriteToPacket in class TileEntityBasetag - NBT tagpublic void readFromPacket(net.minecraft.nbt.CompoundNBT tag)
TileEntityBaseTileEntityBase#read(BlockState, CompoundNBT).
Prefer to use @DescSynced where possible - use this either for complex fields not handled by @DescSynced,
or for non-ticking tile entities.readFromPacket in interface IDescSyncedreadFromPacket in class TileEntityBasetag - NBT tagpublic net.minecraft.block.BlockState getCamouflage()
ICamouflageableTEgetCamouflage in interface ICamouflageableTEpublic void setCamouflage(net.minecraft.block.BlockState state)
ICamouflageableTEsetCamouflage in interface ICamouflageableTEstate - the camo block statepublic IHeatExchangerLogic getHeatExchanger(net.minecraft.util.Direction dir)
IHeatExchangingTEgetHeatExchanger in interface IHeatExchangingTEdir - the side of the block to check, or null for the default/primary heat exchanger