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 . |
getBlock, getLocation, getType, isValid, setValid
getProperties, getProperty, setRawData, validateRawData
toContainer
void playRecord()
RepresentedItemData
of this Jukebox
.void ejectRecord()
void insertRecord(ItemStack record)
record
- The record to insert