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, writeToNBT
addInfoToCrashReport, 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, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContents
createContainer, getGuiID
getName, hasCustomName
protected 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 ILootContainer
public void setLootTable(ResourceLocation p_189404_1_, long p_189404_2_)