public class TileEntityShulkerBox extends TileEntityLockableLoot implements ITickable, ISidedInventory
| Modifier and Type | Class and Description |
|---|---|
static class |
TileEntityShulkerBox.AnimationStatus |
customName, lootTable, lootTableSeedblockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world| Constructor and Description |
|---|
TileEntityShulkerBox() |
TileEntityShulkerBox(EnumDyeColor colorIn) |
checkLootAndRead, checkLootAndWrite, decrStackSize, fillWithLoot, getField, getFieldCount, getLootTable, getStackInSlot, hasCustomName, isItemValidForSlot, isUsableByPlayer, removeStackFromSlot, setCustomName, setField, setInventorySlotContents, setLootTablegetCapability, getDisplayName, getLockCode, hasCapability, isLocked, setLockCodeaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdateTag, getWorld, handleUpdateTag, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecrStackSize, getField, getFieldCount, getStackInSlot, isItemValidForSlot, isUsableByPlayer, markDirty, removeStackFromSlot, setField, setInventorySlotContentsgetDisplayName, hasCustomNamepublic TileEntityShulkerBox()
public TileEntityShulkerBox(@Nullable
EnumDyeColor colorIn)
protected void updateAnimation()
public TileEntityShulkerBox.AnimationStatus getAnimationStatus()
public AxisAlignedBB getBoundingBox(IBlockState p_190584_1_)
public AxisAlignedBB getBoundingBox(EnumFacing p_190587_1_)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic boolean receiveClientEvent(int id,
int type)
receiveClientEvent in class TileEntitypublic void openInventory(EntityPlayer player)
openInventory in interface IInventoryopenInventory in class TileEntityLockableLootpublic void closeInventory(EntityPlayer player)
closeInventory in interface IInventorycloseInventory in class TileEntityLockableLootpublic Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer in interface IInteractionObjectpublic java.lang.String getGuiID()
getGuiID in interface IInteractionObjectpublic java.lang.String getName()
getName in interface IWorldNameablepublic static void registerFixesShulkerBox(DataFixer fixer)
public void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntityLockablepublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntityLockablepublic void loadFromNbt(NBTTagCompound compound)
public NBTTagCompound saveToNbt(NBTTagCompound compound)
protected NonNullList<ItemStack> getItems()
getItems in class TileEntityLockableLootpublic boolean isEmpty()
isEmpty in interface IInventorypublic int[] getSlotsForFace(EnumFacing side)
getSlotsForFace in interface ISidedInventorypublic boolean canInsertItem(int index,
ItemStack itemStackIn,
EnumFacing direction)
canInsertItem in interface ISidedInventorypublic boolean canExtractItem(int index,
ItemStack stack,
EnumFacing direction)
canExtractItem in interface ISidedInventorypublic void clear()
clear in interface IInventoryclear in class TileEntityLockableLootpublic boolean isCleared()
public float getProgress(float p_190585_1_)
public EnumDyeColor getColor()
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic boolean isDestroyedByCreativePlayer()
public void setDestroyedByCreativePlayer(boolean p_190579_1_)
public boolean shouldDrop()
protected IItemHandler createUnSidedHandler()
createUnSidedHandler in class TileEntityLockable