public class TileEntityBrewingStand extends TileEntityLockable implements IUpdatePlayerListBox, ISidedInventory
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityBrewingStand() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExtractItem(int index,
ItemStack stack,
EnumFacing direction) |
boolean |
canInsertItem(int index,
ItemStack itemStackIn,
EnumFacing direction) |
void |
clear() |
void |
closeInventory(EntityPlayer player) |
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
ItemStack |
decrStackSize(int index,
int count) |
void |
func_145937_a(java.lang.String p_145937_1_) |
boolean[] |
func_174902_m() |
int |
getField(int id) |
int |
getFieldCount() |
java.lang.String |
getGuiID() |
int |
getInventoryStackLimit() |
java.lang.String |
getName() |
int |
getSizeInventory() |
int[] |
getSlotsForFace(EnumFacing side) |
ItemStack |
getStackInSlot(int index) |
ItemStack |
getStackInSlotOnClosing(int index) |
boolean |
hasCustomName() |
boolean |
isItemValidForSlot(int index,
ItemStack stack) |
boolean |
isUseableByPlayer(EntityPlayer player) |
void |
openInventory(EntityPlayer player) |
void |
readFromNBT(NBTTagCompound compound) |
void |
setField(int id,
int value) |
void |
setInventorySlotContents(int index,
ItemStack stack) |
void |
update() |
void |
writeToNBT(NBTTagCompound compound) |
getDisplayName, getLockCode, isLocked, setLockCode
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
getDisplayName
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public void func_145937_a(java.lang.String p_145937_1_)
public int getSizeInventory()
getSizeInventory
in interface IInventory
public void update()
update
in interface IUpdatePlayerListBox
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntityLockable
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntityLockable
public ItemStack getStackInSlot(int index)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int index, int count)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int index)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int index, ItemStack stack)
setInventorySlotContents
in interface IInventory
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer player)
isUseableByPlayer
in interface IInventory
public void openInventory(EntityPlayer player)
openInventory
in interface IInventory
public void closeInventory(EntityPlayer player)
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int index, ItemStack stack)
isItemValidForSlot
in interface IInventory
public boolean[] func_174902_m()
public int[] getSlotsForFace(EnumFacing side)
getSlotsForFace
in interface ISidedInventory
public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction)
canInsertItem
in interface ISidedInventory
public boolean canExtractItem(int index, ItemStack stack, EnumFacing direction)
canExtractItem
in interface ISidedInventory
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public int getField(int id)
getField
in interface IInventory
public void setField(int id, int value)
setField
in interface IInventory
public int getFieldCount()
getFieldCount
in interface IInventory
public void clear()
clear
in interface IInventory