Package org.bukkit.block.data.type
Interface NoteBlock
'instrument' is the type of sound made when this note block is activated.
 
'note' is the specified tuned pitch that the instrument will be played in.
'note' is the specified tuned pitch that the instrument will be played in.
- 
Method SummaryModifier and TypeMethodDescriptionGets the value of the 'instrument' property.getNote()Gets the value of the 'note' property.voidsetInstrument(Instrument instrument) Sets the value of the 'instrument' property.voidSets the value of the 'note' property.Methods inherited from interface org.bukkit.block.data.BlockDataclone, getAsString, getAsString, getMaterial, getSoundGroup, matches, mergeMethods inherited from interface org.bukkit.block.data.PowerableisPowered, setPowered
- 
Method Details- 
getInstrumentGets the value of the 'instrument' property.- Returns:
- the 'instrument' value
 
- 
setInstrumentSets the value of the 'instrument' property.- Parameters:
- instrument- the new 'instrument' value
 
- 
getNoteGets the value of the 'note' property.- Returns:
- the 'note' value
 
- 
setNoteSets the value of the 'note' property.- Parameters:
- note- the new 'note' value
 
 
-