public class TileEntityDispenser extends TileEntityLockableLoot
customName, lootTable, lootTableSeed
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntityDispenser() |
Modifier and Type | Method and Description |
---|---|
int |
addItemStack(ItemStack stack) |
Container |
createContainer(InventoryPlayer playerInventory,
EntityPlayer playerIn) |
int |
getDispenseSlot() |
java.lang.String |
getGuiID() |
int |
getInventoryStackLimit() |
protected NonNullList<ItemStack> |
getItems() |
java.lang.String |
getName() |
int |
getSizeInventory() |
boolean |
isEmpty() |
void |
readFromNBT(NBTTagCompound compound) |
static void |
registerFixes(DataFixer fixer) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
checkLootAndRead, checkLootAndWrite, clear, closeInventory, decrStackSize, fillWithLoot, getField, getFieldCount, getLootTable, getStackInSlot, hasCustomName, isItemValidForSlot, isUsableByPlayer, openInventory, removeStackFromSlot, setCustomName, setField, setInventorySlotContents, setLootTable
createUnSidedHandler, getCapability, getDisplayName, getLockCode, hasCapability, isLocked, setLockCode
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
public int getSizeInventory()
public boolean isEmpty()
public int getDispenseSlot()
public int addItemStack(ItemStack stack)
public java.lang.String getName()
public static void registerFixes(DataFixer fixer)
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntityLockable
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntityLockable
public int getInventoryStackLimit()
public java.lang.String getGuiID()
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
protected NonNullList<ItemStack> getItems()
getItems
in class TileEntityLockableLoot