|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Jukebox
Represents a Jukebox
Method Summary | |
---|---|
boolean |
eject()
Stop the jukebox playing and eject the current record |
Material |
getPlaying()
Get the record currently playing |
boolean |
isPlaying()
Check if the jukebox is currently playing a record |
void |
setPlaying(Material record)
Set the record currently playing |
Methods inherited from interface org.bukkit.block.BlockState |
---|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, setData, setRawData, setType, setTypeId, update, update |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Method Detail |
---|
Material getPlaying()
void setPlaying(Material record)
record
- The record Material, or null/AIR to stop playingboolean isPlaying()
boolean eject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |