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 Summary
Modifier and TypeMethodDescriptionGets the value of the 'instrument' property.getNote()Gets the value of the 'note' property.voidsetInstrument(@NotNull Instrument instrument) Sets the value of the 'instrument' property.voidSets the value of the 'note' property.Methods inherited from interface BlockData
clone, copyTo, createBlockState, getAsString, getAsString, getCollisionShape, getDestroySpeed, getDestroySpeed, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isRandomlyTicked, isReplaceable, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotateMethods inherited from interface Powerable
isPowered, setPowered
-
Method Details
-
getInstrument
Gets the value of the 'instrument' property.- Returns:
- the 'instrument' value
-
setInstrument
Sets the value of the 'instrument' property.- Parameters:
instrument- the new 'instrument' value
-
getNote
-
setNote
-