public class TileAdvancedCraftingTable extends TileLaserTableBase implements IAutoCraft
Modifier and Type | Field and Description |
---|---|
ItemHandlerSimple |
invBlueprint |
ItemHandlerSimple |
invMaterials |
ItemHandlerSimple |
invResults |
net.minecraft.item.ItemStack |
resultClient |
avgPowerClient, power
caps, DEBUG, deltaManager, IDS, 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 |
---|
TileAdvancedCraftingTable() |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.ItemStack |
getCurrentRecipeOutput() |
ItemHandlerSimple |
getInvBlueprint() |
long |
getTarget() |
net.minecraft.inventory.InventoryCrafting |
getWorkbenchCrafting() |
protected void |
onSlotChange(net.minecraftforge.items.IItemHandlerModifiable handler,
int slot,
net.minecraft.item.ItemStack before,
net.minecraft.item.ItemStack after) |
void |
readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
update() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
extract, getDebugInfo, getRequiredLaserPower, isInvalidTarget, readFromNBT, receiveLaserPower, writeToNBT
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, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
public final ItemHandlerSimple invBlueprint
public final ItemHandlerSimple invMaterials
public final ItemHandlerSimple invResults
public net.minecraft.item.ItemStack resultClient
protected void onSlotChange(net.minecraftforge.items.IItemHandlerModifiable handler, int slot, @Nonnull net.minecraft.item.ItemStack before, @Nonnull net.minecraft.item.ItemStack after)
onSlotChange
in class TileBC_Neptune
public long getTarget()
getTarget
in class TileLaserTableBase
public void update()
update
in interface net.minecraft.util.ITickable
update
in class TileLaserTableBase
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 TileLaserTableBase
ctx
- 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 TileLaserTableBase
public net.minecraft.inventory.InventoryCrafting getWorkbenchCrafting()
public net.minecraft.item.ItemStack getCurrentRecipeOutput()
getCurrentRecipeOutput
in interface IAutoCraft
public ItemHandlerSimple getInvBlueprint()
getInvBlueprint
in interface IAutoCraft