public class TileHeatExchange extends TileBC_Neptune implements net.minecraft.util.ITickable, IDebuggable
| Modifier and Type | Class and Description |
|---|---|
static class |
TileHeatExchange.EnumProgressState |
static class |
TileHeatExchange.ExchangeSectionEnd |
static class |
TileHeatExchange.ExchangeSectionStart |
| Modifier and Type | Field and Description |
|---|---|
static IdAllocator |
IDS |
static int |
NET_ID_CHANGE_SECTION |
static int |
NET_ID_STATE |
static int |
NET_ID_TANK_IN |
static int |
NET_ID_TANK_OUT |
protected buildcraft.factory.tile.TileHeatExchange.ExchangeSection |
section |
caps, DEBUG, deltaManager, itemManager, NET_ADV_DEBUG, NET_ADV_DEBUG_DISABLE, NET_GUI_DATA, NET_GUI_DELTA_CLEAR, NET_GUI_DELTA_SINGLE, NET_GUI_TICK, NET_REDRAW, NET_REN_DELTA_CLEAR, NET_REN_DELTA_SINGLE, NET_RENDER_DATA, tankManager| Constructor and Description |
|---|
TileHeatExchange() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toDrop,
int fortune)
Called whenever
Block.getDrops(NonNullList, IBlockAccess, BlockPos, IBlockState, int), or
TileBC_Neptune.onRemove() is called (by default). |
<T> T |
getCapability(net.minecraftforge.common.capabilities.Capability<T> capability,
net.minecraft.util.EnumFacing facing) |
void |
getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
Get the debug information from a tile entity as a list of strings, used for the F3 debug menu.
|
IdAllocator |
getIdAllocator() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
buildcraft.factory.tile.TileHeatExchange.ExchangeSection |
getSection() |
void |
invalidate() |
boolean |
isEnd() |
boolean |
isStart() |
boolean |
onActivated(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ) |
void |
onNeighbourBlockChanged(net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos nehighbour) |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
boolean |
rotate()
Called by
Block.rotateBlock(World, BlockPos, EnumFacing) and
ICustomRotationHandler.attemptRotation(World, BlockPos, IBlockState, EnumFacing) when the
EnumFacing is EnumFacing.UP or EnumFacing.DOWN. |
void |
update() |
void |
validate() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
canEditOther, canInteractWith, cannotUpdate, canPlayerEdit, createAndSendGuiMessage, createAndSendGuiMessage, createAndSendMessage, createAndSendMessage, createMessage, createNetworkUpdate, disableDebugging, doesExistInWorld, enableDebugging, getCurrentState, getCurrentStateForBlock, getDebugRenderer, getLocalState, getLocalTile, getNeighbourState, getNeighbourTile, getOffsetState, getOffsetTile, getOwner, getPermBlock, getUpdatePacket, getUpdateTag, handleUpdateTag, hasCapability, isBeingDebugged, markChunkDirty, migrateOldNBT, onDataPacket, onExplode, onPlacedBy, onPlayerClose, onPlayerOpen, onRemove, onSlotChange, receivePayload, redrawBlock, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefreshaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getTileData, getWorld, hasFastRenderer, hasWorld, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientDebugInfopublic static final IdAllocator IDS
public static final int NET_ID_CHANGE_SECTION
public static final int NET_ID_TANK_IN
public static final int NET_ID_TANK_OUT
public static final int NET_ID_STATE
protected buildcraft.factory.tile.TileHeatExchange.ExchangeSection section
public IdAllocator getIdAllocator()
getIdAllocator in class TileBC_NeptuneIdAllocator that allocates all ID's for this class, and its parent classes. All subclasses
should override this if they allocate their own ids after calling
IdAllocator.makeChild(String)public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class TileBC_Neptunepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class TileBC_Neptunepublic void update()
update in interface net.minecraft.util.ITickablepublic void readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
throws java.io.IOException
readPayload in class TileBC_Neptunectx - The context. Will be null if this is a generic update payloadjava.io.IOException - if something went wrongpublic void writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side)
writePayload in class TileBC_Neptunepublic net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic <T> T getCapability(@Nonnull
net.minecraftforge.common.capabilities.Capability<T> capability,
net.minecraft.util.EnumFacing facing)
getCapability in interface net.minecraftforge.common.capabilities.ICapabilityProvidergetCapability in class TileBC_Neptunepublic boolean onActivated(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand,
net.minecraft.util.EnumFacing facing,
float hitX,
float hitY,
float hitZ)
onActivated in class TileBC_Neptunepublic void invalidate()
invalidate in class net.minecraft.tileentity.TileEntitypublic void validate()
validate in class net.minecraft.tileentity.TileEntitypublic void onNeighbourBlockChanged(net.minecraft.block.Block block,
net.minecraft.util.math.BlockPos nehighbour)
onNeighbourBlockChanged in class TileBC_Neptunepublic void addDrops(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toDrop,
int fortune)
TileBC_NeptuneBlock.getDrops(NonNullList, IBlockAccess, BlockPos, IBlockState, int), or
TileBC_Neptune.onRemove() is called (by default).addDrops in class TileBC_Neptunepublic boolean rotate()
Block.rotateBlock(World, BlockPos, EnumFacing) and
ICustomRotationHandler.attemptRotation(World, BlockPos, IBlockState, EnumFacing) when the
EnumFacing is EnumFacing.UP or EnumFacing.DOWN.
If this exchanger is not part of a larger structure then this will rotate this block 90 degrees. If this is part of a larger structure then all adjacent heat exchangers will be rotated 180 degrees to swap the start and end blocks.
public boolean isStart()
public boolean isEnd()
public buildcraft.factory.tile.TileHeatExchange.ExchangeSection getSection()
public void getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
IDebuggablegetDebugInfo in interface IDebuggableside - The side the block was clicked on, may be null if we don't know, or is the "centre" side