Beacon¶
Picture
Mod: Minecraft
Block: Noteblock
A note block is a musical block that emits sounds when powered with redstone.
Functions¶
Function | Returns | Description |
---|---|---|
playNote() | Plays the sound of the current note | |
getNote() | int | Returns the current note. A value between 0 and 24 |
changeNoteBy(int note) | int | Changes the note to the given note. A value between 0 and 24. Returns the note if successful |
changeNote() | int | Changes the note to the next possible(Like when you would click on the noteblock). Returns the note if successful, -1 if not successful |
Changelog/Trivia¶
0.7.4r Added the noteblock integration
0.6b Added integration for Minecraft