public class GlowNoteBlock extends GlowBlockState implements org.bukkit.block.NoteBlock
data, typeId| Constructor and Description |
|---|
GlowNoteBlock(GlowBlock block)
Creates the instance for a note block.
|
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.Note |
getNote() |
byte |
getRawNote() |
boolean |
play() |
boolean |
play(byte instrument,
byte note) |
boolean |
play(org.bukkit.Instrument instrument,
org.bukkit.Note note) |
void |
setNote(org.bukkit.Note note) |
void |
setRawNote(byte note) |
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 GlowNoteBlock(GlowBlock block)
block - the note blockpublic boolean update(boolean force,
boolean applyPhysics)
update in interface org.bukkit.block.BlockStateupdate in class GlowBlockStatepublic void setNote(org.bukkit.Note note)
setNote in interface org.bukkit.block.NoteBlockpublic byte getRawNote()
getRawNote in interface org.bukkit.block.NoteBlockpublic void setRawNote(byte note)
setRawNote in interface org.bukkit.block.NoteBlockpublic boolean play()
play in interface org.bukkit.block.NoteBlockpublic boolean play(byte instrument,
byte note)
play in interface org.bukkit.block.NoteBlockpublic boolean play(org.bukkit.Instrument instrument,
org.bukkit.Note note)
play in interface org.bukkit.block.NoteBlockpublic org.bukkit.Note getNote()
getNote in interface org.bukkit.block.NoteBlockCopyright © 2021. All rights reserved.