public class TileEntityBed extends TileEntity
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntityBed() |
Modifier and Type | Method and Description |
---|---|
EnumDyeColor |
getColor() |
ItemStack |
getItemStack() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
isHeadPiece() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setColor(EnumDyeColor color) |
void |
setItemValues(ItemStack p_193051_1_) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void setItemValues(ItemStack p_193051_1_)
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public EnumDyeColor getColor()
public void setColor(EnumDyeColor color)
public boolean isHeadPiece()
public ItemStack getItemStack()