public class TileAssemblyTable extends TileLaserTableBase
| Modifier and Type | Class and Description |
|---|---|
class |
TileAssemblyTable.AssemblyInstruction |
| Modifier and Type | Field and Description |
|---|---|
static IdAllocator |
IDS |
ItemHandlerSimple |
inv |
static int |
NET_RECIPE_STATE |
java.util.SortedMap<TileAssemblyTable.AssemblyInstruction,EnumAssemblyRecipeState> |
recipesStates |
avgPowerClient, powercaps, 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 |
|---|
TileAssemblyTable() |
| Modifier and Type | Method and Description |
|---|---|
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() |
long |
getTarget() |
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 |
sendRecipeStateToServer(TileAssemblyTable.AssemblyInstruction instruction,
EnumAssemblyRecipeState state) |
void |
update() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
extract, getRequiredLaserPower, isInvalidTarget, receiveLaserPoweraddDrops, canEditOther, canInteractWith, cannotUpdate, canPlayerEdit, createAndSendGuiMessage, createAndSendGuiMessage, createAndSendMessage, createAndSendMessage, createMessage, createNetworkUpdate, disableDebugging, doesExistInWorld, enableDebugging, getCapability, getCurrentState, getCurrentStateForBlock, getDebugRenderer, 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, shouldRefreshaddInfoToCrashReport, 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientDebugInfopublic static final IdAllocator IDS
public static final int NET_RECIPE_STATE
public final ItemHandlerSimple inv
public java.util.SortedMap<TileAssemblyTable.AssemblyInstruction,EnumAssemblyRecipeState> recipesStates
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 long getTarget()
getTarget in class TileLaserTableBasepublic void update()
update in interface net.minecraft.util.ITickableupdate in class TileLaserTableBasepublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class TileLaserTableBasepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class TileLaserTableBasepublic void writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side)
writePayload in class TileLaserTableBasepublic 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 TileLaserTableBasectx - The context. Will be null if this is a generic update payloadjava.io.IOException - if something went wrongpublic void sendRecipeStateToServer(TileAssemblyTable.AssemblyInstruction instruction, EnumAssemblyRecipeState state)
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 IDebuggablegetDebugInfo in class TileLaserTableBaseside - The side the block was clicked on, may be null if we don't know, or is the "centre" side