public class TileEntityFlowerPot extends TileEntity
| Modifier and Type | Field and Description |
|---|---|
private int |
flowerPotData |
private Item |
flowerPotItem |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world| Constructor and Description |
|---|
TileEntityFlowerPot() |
TileEntityFlowerPot(Item potItem,
int potData) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getFlowerItemStack() |
int |
getFlowerPotData() |
Item |
getFlowerPotItem() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
void |
readFromNBT(NBTTagCompound compound) |
static void |
registerFixesFlowerPot(DataFixer fixer) |
void |
setItemStack(ItemStack stack) |
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 Item flowerPotItem
private int flowerPotData
public TileEntityFlowerPot()
public TileEntityFlowerPot(Item potItem, int potData)
public static void registerFixesFlowerPot(DataFixer fixer)
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntity@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic void setItemStack(ItemStack stack)
public ItemStack getFlowerItemStack()
@Nullable public Item getFlowerPotItem()
public int getFlowerPotData()