public class TileAutoWorkbench extends TileBuildCraft implements net.minecraft.inventory.ISidedInventory
| Modifier and Type | Field and Description |
|---|---|
static int |
CRAFT_TIME |
net.minecraft.inventory.InventoryCrafting |
craftMatrix |
int |
progress |
static int |
SLOT_RESULT |
static int |
UPDATE_TIME |
boolean |
useLast |
| Constructor and Description |
|---|
TileAutoWorkbench() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slot,
net.minecraft.item.ItemStack stack,
int side) |
boolean |
canInsertItem(int slot,
net.minecraft.item.ItemStack stack,
int side) |
boolean |
canUpdate() |
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slot,
int count) |
net.minecraft.item.crafting.IRecipe |
findRecipe() |
net.minecraft.item.ItemStack |
findRecipeOutput() |
int[] |
getAccessibleSlotsFromSide(int var1) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getProgressScaled(int i) |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int slot) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack) |
boolean |
isLast()
Returns true if there are only enough inputs for a single craft job.
|
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player) |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound data) |
void |
setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack) |
void |
updateEntity() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound data) |
destroy, getDescriptionPacket, getOwner, getPacketPayload, getUpdatePacket, getWorld, handleDescriptionPacket, handleUpdatePacket, initialize, invalidate, onBlockPlacedBy, postPacketHandling, sendNetworkUpdateaddMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validatepublic static final int SLOT_RESULT
public static final int CRAFT_TIME
public static final int UPDATE_TIME
public net.minecraft.inventory.InventoryCrafting craftMatrix
public boolean useLast
public int progress
public int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int slot)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int slot,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slot,
net.minecraft.item.ItemStack stack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int slot)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer player)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void readFromNBT(net.minecraft.nbt.NBTTagCompound data)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound data)
writeToNBT in class TileBuildCraftpublic net.minecraft.item.ItemStack findRecipeOutput()
public net.minecraft.item.crafting.IRecipe findRecipe()
public boolean canUpdate()
canUpdate in class net.minecraft.tileentity.TileEntitypublic void updateEntity()
updateEntity in class TileBuildCraftpublic int getProgressScaled(int i)
public void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int slot,
net.minecraft.item.ItemStack stack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic int[] getAccessibleSlotsFromSide(int var1)
getAccessibleSlotsFromSide in interface net.minecraft.inventory.ISidedInventorypublic boolean canInsertItem(int slot,
net.minecraft.item.ItemStack stack,
int side)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic boolean canExtractItem(int slot,
net.minecraft.item.ItemStack stack,
int side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorypublic boolean isLast()
public boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventory