public class GlowJukebox extends GlowBlockState implements org.bukkit.block.Jukebox
data, typeId| Constructor and Description |
|---|
GlowJukebox(GlowBlock block)
Creates a block state for the given jukebox block.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
eject() |
org.bukkit.Material |
getPlaying() |
org.bukkit.inventory.ItemStack |
getPlayingItem() |
boolean |
isPlaying() |
void |
setPlaying(org.bukkit.Material record) |
boolean |
update(boolean force,
boolean applyPhysics) |
equals, getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getMetadata, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, hashCode, hasMetadata, isFlowed, isPlaced, removeMetadata, setData, setFlowed, setMetadata, setRawData, setType, setTypeId, update, updateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitpublic GlowJukebox(GlowBlock block)
block - the jukebox blockpublic boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStatepublic org.bukkit.Material getPlaying()
getPlaying in interface org.bukkit.block.Jukeboxpublic boolean isPlaying()
isPlaying in interface org.bukkit.block.Jukeboxpublic void setPlaying(org.bukkit.Material record)
setPlaying in interface org.bukkit.block.Jukeboxpublic boolean eject()
eject in interface org.bukkit.block.Jukeboxpublic org.bukkit.inventory.ItemStack getPlayingItem()
Copyright © 2021. All rights reserved.