Package net.minecraft.block.entity
Class JukeboxBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.JukeboxBlockEntity
- All Implemented Interfaces:
Clearable
public class JukeboxBlockEntity extends BlockEntity implements Clearable
-
Field Summary
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors Constructor Description JukeboxBlockEntity() -
Method Summary
Modifier and Type Method Description voidclear()voidfromTag(BlockState state, CompoundTag tag)ItemStackgetRecord()voidsetRecord(ItemStack stack)CompoundTagtoTag(CompoundTag tag)Methods inherited from class net.minecraft.block.entity.BlockEntity
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, onSyncedBlockEvent, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toUpdatePacket
-
Field Details
-
record
-
-
Constructor Details
-
JukeboxBlockEntity
public JukeboxBlockEntity()
-
-
Method Details
-
fromTag
- Overrides:
fromTagin classBlockEntity
-
toTag
- Overrides:
toTagin classBlockEntity
-
getRecord
-
setRecord
-
clear
public void clear()
-