public interface Jukebox extends TileEntity
| Modifier and Type | Method and Description |
|---|---|
void |
ejectRecord()
Ejects the record item in this Jukebox into the world.
|
void |
insertRecord(ItemStack record)
Ejects the current record in this Jukebox and inserts the given one.
|
void |
playRecord()
Attempts to play the currently stored record according to the
RepresentedItemData of this Jukebox. |
void |
stopRecord()
Stops the currently playing record, if any.
|
createArchetype, getBlock, getLocatableBlock, getType, isValid, setValidsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetLocation, getWorldvoid playRecord()
RepresentedItemData of this Jukebox.void stopRecord()
void ejectRecord()
void insertRecord(ItemStack record)
record - The record to insert