Uses of Enum Class
net.neoforged.neoforge.event.level.NoteBlockEvent.Octave
-
Uses of NoteBlockEvent.Octave in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate final NoteBlockEvent.Octave
NoteBlockEvent.Change.oldOctave
Modifier and TypeMethodDescription(package private) static NoteBlockEvent.Octave
NoteBlockEvent.Octave.fromId
(int id) NoteBlockEvent.getOctave()
Get the Octave of the note this Noteblock is tuned toNoteBlockEvent.Change.getOldOctave()
static NoteBlockEvent.Octave
Returns the enum constant of this class with the specified name.static NoteBlockEvent.Octave[]
NoteBlockEvent.Octave.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
NoteBlockEvent.setNote
(NoteBlockEvent.Note note, NoteBlockEvent.Octave octave) Set Note and Octave for this event.
If octave is Octave.HIGH, note may only be Note.F_SHARP