public class JukeboxTileEntity extends TileEntity implements IClearable
Modifier and Type | Field and Description |
---|---|
private ItemStack |
record |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
JukeboxTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
ItemStack |
getRecord() |
void |
read(CompoundNBT compound) |
void |
setRecord(ItemStack p_195535_1_) |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearObj
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability, getCapability
private ItemStack record
public void read(CompoundNBT compound)
read
in class TileEntity
public CompoundNBT write(CompoundNBT compound)
write
in class TileEntity
public ItemStack getRecord()
public void setRecord(ItemStack p_195535_1_)
public void clear()
clear
in interface IClearable