public class TileDistiller_BC8 extends TileBC_Neptune implements net.minecraft.util.ITickable, IDebuggable
Modifier and Type | Field and Description |
---|---|
ModelVariableData |
clientModelData
The model variables, used to keep track of the various state-based variables.
|
static IdAllocator |
IDS |
static long |
MAX_MJ_PER_TICK |
static FunctionContext |
MODEL_FUNC_CTX |
static int |
NET_TANK_GAS_OUT |
static int |
NET_TANK_IN |
static int |
NET_TANK_LIQUID_OUT |
FluidSmoother |
smoothedTankGasOut |
FluidSmoother |
smoothedTankIn |
FluidSmoother |
smoothedTankLiquidOut |
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 |
---|
TileDistiller_BC8() |
Modifier and Type | Method and Description |
---|---|
void |
getClientDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
Same as
IDebuggable.getDebugInfo(List, List, EnumFacing) , but only for client |
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.
|
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) |
void |
setClientModelVariables(float partialTicks) |
static void |
setClientModelVariablesForItem() |
void |
update() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addDrops, canEditOther, canInteractWith, cannotUpdate, canPlayerEdit, createAndSendGuiMessage, createAndSendGuiMessage, createAndSendMessage, createAndSendMessage, createMessage, createNetworkUpdate, disableDebugging, doesExistInWorld, enableDebugging, getCapability, getCurrentState, getCurrentStateForBlock, getDebugRenderer, getIdAllocator, getLocalState, getLocalTile, getNeighbourState, getNeighbourTile, getOffsetState, getOffsetTile, getOwner, getPermBlock, getUpdatePacket, getUpdateTag, handleUpdateTag, hasCapability, isBeingDebugged, markChunkDirty, migrateOldNBT, onActivated, onDataPacket, onExplode, onNeighbourBlockChanged, onPlacedBy, onPlayerClose, onPlayerOpen, onRemove, onSlotChange, receivePayload, redrawBlock, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefresh
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo, validate
public static final FunctionContext MODEL_FUNC_CTX
public static final IdAllocator IDS
public static final int NET_TANK_IN
public static final int NET_TANK_GAS_OUT
public static final int NET_TANK_LIQUID_OUT
public static final long MAX_MJ_PER_TICK
public final FluidSmoother smoothedTankIn
public final FluidSmoother smoothedTankGasOut
public final FluidSmoother smoothedTankLiquidOut
public final ModelVariableData clientModelData
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class TileBC_Neptune
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class TileBC_Neptune
public void writePayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side)
writePayload
in class TileBC_Neptune
public 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_Neptune
ctx
- The context. Will be null if this is a generic update payloadjava.io.IOException
- if something went wrongpublic static void setClientModelVariablesForItem()
public void setClientModelVariables(float partialTicks)
public void update()
update
in interface net.minecraft.util.ITickable
public void getDebugInfo(java.util.List<java.lang.String> left, java.util.List<java.lang.String> right, net.minecraft.util.EnumFacing side)
IDebuggable
getDebugInfo
in interface IDebuggable
side
- The side the block was clicked on, may be null if we don't know, or is the "centre" sidepublic void getClientDebugInfo(java.util.List<java.lang.String> left, java.util.List<java.lang.String> right, net.minecraft.util.EnumFacing side)
IDebuggable
IDebuggable.getDebugInfo(List, List, EnumFacing)
, but only for clientgetClientDebugInfo
in interface IDebuggable
side
- same as for IDebuggable.getDebugInfo(List, List, EnumFacing)