public class TileEntityBed extends TileEntity
| Modifier and Type | Field and Description |
|---|---|
private EnumDyeColor |
color |
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, validateprivate EnumDyeColor color
public void setItemValues(ItemStack p_193051_1_)
public void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic EnumDyeColor getColor()
public void setColor(EnumDyeColor color)
public boolean isHeadPiece()
public ItemStack getItemStack()