SOUND
Plays a note at the trigger block like a note block.
note is 0 to 24, like the clicks on a note block. Instruments are note block instruments such as harp, bass, bell or flute. A wrong note or instrument raises INVALID_ARGUMENT.
Parameters and results
noteINTEGER: the note, 0 to 24instrumentSTRING: the instrument (optional, default "harp")
Example
c0de
CALL c0de/minecraft/SOUND
PARAMETER note 12 ;
PARAMETER instrument "bell" ;