public class TileEntityDispenser extends TileEntityLockableLoot
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Random |
RNG |
private NonNullList<ItemStack> |
stacks |
customName, lootTable, lootTableSeedblockType, 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, setLootTablecreateUnSidedHandler, getCapability, getDisplayName, getLockCode, hasCapability, isLocked, setLockCodeaddInfoToCrashReport, 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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkDirtyprivate static final java.util.Random RNG
private NonNullList<ItemStack> stacks
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 TileEntityLockablepublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntityLockablepublic int getInventoryStackLimit()
public java.lang.String getGuiID()
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
protected NonNullList<ItemStack> getItems()
getItems in class TileEntityLockableLoot