public class EndTableTileEntity extends InventoryTileEntity implements IFrameCounter
Modifier and Type | Field and Description |
---|---|
int |
frame |
Constructor and Description |
---|
EndTableTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
closeDrawer() |
int |
getContainerSize() |
net.minecraft.util.text.ITextComponent |
getDisplayName() |
int |
getFrame() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isOpen() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
void |
openDrawer() |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
sendAnimation(java.lang.String str) |
void |
setFrame(int frame) |
addToInventory, createMenu, getContents, getCustomName, getItem, getMaxStackSize, hasCustomName, isEmpty, removeItem, removeItemNoUpdate, setItem, stillValid
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEvent
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canPlaceItem, clearContent, startOpen, stopOpen
public void closeDrawer()
public void openDrawer()
public boolean isOpen()
public int getFrame()
getFrame
in interface IFrameCounter
public void setFrame(int frame)
setFrame
in interface IFrameCounter
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT nbt)
load
in class InventoryTileEntity
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save
in class InventoryTileEntity
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class net.minecraft.tileentity.TileEntity
public void sendAnimation(java.lang.String str)
public void onDataPacket(net.minecraft.network.NetworkManager net, net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public int getContainerSize()
getContainerSize
in interface net.minecraft.inventory.IInventory
getContainerSize
in class InventoryTileEntity
public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName
in interface net.minecraft.inventory.container.INamedContainerProvider
getDisplayName
in class InventoryTileEntity