public interface JukeboxBlockEntity extends BlockEntity
| Modifier and Type | Method and Description |
|---|---|
Optional<ItemInstance> |
getRecord() |
void |
setRecord(ItemInstance item)
Set the current record in the jukebox.
|
getLevelOptional<ItemInstance> getRecord()
void setRecord(@Nullable ItemInstance item)
item - the recordIllegalArgumentException - ItemType must be a recordCopyright © 2017–2018 NukkitX. All rights reserved.