public static class BlockJukebox.TileEntityJukebox extends TileEntity
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityJukebox() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getRecord() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setRecord(ItemStack recordStack) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
@Nullable public ItemStack getRecord()
public void setRecord(@Nullable ItemStack recordStack)