public class BarrelTileEntity extends LockableLootTileEntity
lootTable, lootTableSeedpos, removed, worldINFINITE_EXTENT_AABB| Constructor and Description |
|---|
BarrelTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
closeInventory(PlayerEntity player) |
protected Container |
createMenu(int id,
PlayerInventory player) |
ItemStack |
decrStackSize(int index,
int count) |
void |
func_213962_h() |
protected ITextComponent |
getDefaultName() |
protected NonNullList<ItemStack> |
getItems() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int index) |
boolean |
isEmpty() |
void |
openInventory(PlayerEntity player) |
void |
read(CompoundNBT compound) |
ItemStack |
removeStackFromSlot(int index) |
void |
setInventorySlotContents(int index,
ItemStack stack) |
protected void |
setItems(NonNullList<ItemStack> itemsIn) |
CompoundNBT |
write(CompoundNBT compound) |
canOpen, checkLootAndRead, checkLootAndWrite, createMenu, fillWithLoot, isUsableByPlayer, setLootTable, setLootTablecanUnlock, createUnSidedHandler, getCapability, getCustomName, getDisplayName, getName, remove, setCustomNameaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorld, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcount, getInventoryStackLimit, hasAny, isItemValidForSlot, markDirtyclearObjhasCustomNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapabilitypublic CompoundNBT write(CompoundNBT compound)
write in class LockableTileEntitypublic void read(CompoundNBT compound)
read in class LockableTileEntitypublic int getSizeInventory()
public boolean isEmpty()
public ItemStack getStackInSlot(int index)
getStackInSlot in interface IInventorygetStackInSlot in class LockableLootTileEntitypublic ItemStack decrStackSize(int index, int count)
decrStackSize in interface IInventorydecrStackSize in class LockableLootTileEntitypublic ItemStack removeStackFromSlot(int index)
removeStackFromSlot in interface IInventoryremoveStackFromSlot in class LockableLootTileEntitypublic void setInventorySlotContents(int index,
ItemStack stack)
setInventorySlotContents in interface IInventorysetInventorySlotContents in class LockableLootTileEntitypublic void clear()
clear in interface IClearableclear in class LockableLootTileEntityprotected NonNullList<ItemStack> getItems()
getItems in class LockableLootTileEntityprotected void setItems(NonNullList<ItemStack> itemsIn)
setItems in class LockableLootTileEntityprotected ITextComponent getDefaultName()
getDefaultName in class LockableTileEntityprotected Container createMenu(int id, PlayerInventory player)
createMenu in class LockableTileEntitypublic void openInventory(PlayerEntity player)
public void func_213962_h()
public void closeInventory(PlayerEntity player)