public abstract class TileAutoWorkbenchBase extends TileBC_Neptune implements net.minecraft.util.ITickable, IDebuggable, IAutoCraft
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.crafting.IRecipe |
currentRecipe |
DeltaInt |
deltaProgress |
ItemHandlerSimple |
invBlueprint |
ItemHandlerSimple |
invMaterials |
ItemHandlerSimple |
invOverflow |
ItemHandlerSimple |
invResult |
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 |
---|
TileAutoWorkbenchBase(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.crafting.IRecipe |
getCurrentRecipe() |
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.
|
ItemHandlerSimple |
getInvBlueprint() |
ItemHandlerSimple |
getInvMaterials() |
ItemHandlerSimple |
getInvResult() |
net.minecraft.util.math.BlockPos |
getPosForAutoCrafting() |
java.util.List<net.minecraft.item.ItemStack> |
getRequirements() |
WorkbenchCrafting |
getWorkbenchCrafting() |
net.minecraft.world.World |
getWorldForAutoCrafting() |
void |
setCurrentRecipe(net.minecraft.item.crafting.IRecipe recipe) |
void |
setRequirements(java.util.List<net.minecraft.item.ItemStack> stacks) |
void |
update() |
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, migrateOldNBT, onActivated, onDataPacket, onExplode, onPlacedBy, onPlayerClose, onPlayerOpen, onRemove, onSlotChange, readFromNBT, readPayload, receivePayload, redrawBlock, registerTile, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefresh, writePayload, writeToNBT
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
canWork, craft, getOutput, hasMaterials, insertInInventory, updateRecipe
public final ItemHandlerSimple invBlueprint
public final ItemHandlerSimple invMaterials
public final ItemHandlerSimple invResult
public final ItemHandlerSimple invOverflow
public net.minecraft.item.crafting.IRecipe currentRecipe
public final DeltaInt deltaProgress
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 ItemHandlerSimple getInvBlueprint()
getInvBlueprint
in interface IAutoCraft
public ItemHandlerSimple getInvMaterials()
getInvMaterials
in interface IAutoCraft
public ItemHandlerSimple getInvResult()
getInvResult
in interface IAutoCraft
public WorkbenchCrafting getWorkbenchCrafting()
getWorkbenchCrafting
in interface IAutoCraft
public net.minecraft.item.crafting.IRecipe getCurrentRecipe()
getCurrentRecipe
in interface IAutoCraft
public void setCurrentRecipe(net.minecraft.item.crafting.IRecipe recipe)
setCurrentRecipe
in interface IAutoCraft
public void setRequirements(java.util.List<net.minecraft.item.ItemStack> stacks)
setRequirements
in interface IAutoCraft
public java.util.List<net.minecraft.item.ItemStack> getRequirements()
getRequirements
in interface IAutoCraft
public net.minecraft.world.World getWorldForAutoCrafting()
getWorldForAutoCrafting
in interface IAutoCraft
public net.minecraft.util.math.BlockPos getPosForAutoCrafting()
getPosForAutoCrafting
in interface IAutoCraft