public abstract class TileEntityLockableLoot extends TileEntityLockable implements ILootContainer
| Modifier and Type | Field and Description |
|---|---|
protected ResourceLocation |
lootTable |
protected long |
lootTableSeed |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj| Constructor and Description |
|---|
TileEntityLockableLoot() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkLootAndRead(NBTTagCompound compound) |
protected boolean |
checkLootAndWrite(NBTTagCompound compound) |
protected void |
fillWithLoot(EntityPlayer player) |
ResourceLocation |
getLootTable() |
void |
setLootTable(ResourceLocation p_189404_1_,
long p_189404_2_) |
createUnSidedHandler, getCapability, getDisplayName, getLockCode, hasCapability, isLocked, readFromNBT, setLockCode, writeToNBTaddInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContentscreateContainer, getGuiIDgetName, hasCustomNameprotected ResourceLocation lootTable
protected long lootTableSeed
protected boolean checkLootAndRead(NBTTagCompound compound)
protected boolean checkLootAndWrite(NBTTagCompound compound)
protected void fillWithLoot(@Nullable
EntityPlayer player)
public ResourceLocation getLootTable()
getLootTable in interface ILootContainerpublic void setLootTable(ResourceLocation p_189404_1_, long p_189404_2_)