public class TileEntityDispenser extends TileEntityLockableLoot
customName, lootTable, lootTableSeedpos, removed, worldINFINITE_EXTENT_AABB| Modifier | Constructor and Description |
|---|---|
|
TileEntityDispenser() |
protected |
TileEntityDispenser(TileEntityType<?> p_i48286_1_) |
| 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() |
ITextComponent |
getName() |
int |
getSizeInventory() |
boolean |
isEmpty() |
void |
read(NBTTagCompound compound) |
protected void |
setItems(NonNullList<ItemStack> itemsIn) |
NBTTagCompound |
write(NBTTagCompound compound) |
checkLootAndRead, checkLootAndWrite, clear, closeInventory, decrStackSize, fillWithLoot, getCustomName, getField, getFieldCount, getLootTable, getStackInSlot, hasCustomName, isItemValidForSlot, isUsableByPlayer, openInventory, removeStackFromSlot, setCustomName, setField, setInventorySlotContents, setLootTable, setLootTablecreateUnSidedHandler, getCapability, getLockCode, isLocked, remove, setLockCodeaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorld, updateContainingBlockInfo, validateareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getWidth, markDirtygetDisplayNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPassgetCapabilityprotected TileEntityDispenser(TileEntityType<?> p_i48286_1_)
public TileEntityDispenser()
public int getSizeInventory()
public boolean isEmpty()
public int getDispenseSlot()
public int addItemStack(ItemStack stack)
public ITextComponent getName()
public void read(NBTTagCompound compound)
read in class TileEntityLockablepublic NBTTagCompound write(NBTTagCompound compound)
write in class TileEntityLockablepublic int getInventoryStackLimit()
public java.lang.String getGuiID()
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
protected NonNullList<ItemStack> getItems()
getItems in class TileEntityLockableLootprotected void setItems(NonNullList<ItemStack> itemsIn)
setItems in class TileEntityLockableLoot