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, setValid
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getLocation, getWorld
void playRecord()
RepresentedItemData
of this Jukebox
.void stopRecord()
void ejectRecord()
void insertRecord(ItemStack record)
record
- The record to insert