Package | Description |
---|---|
net.minecraftforge.event.world |
Modifier and Type | Field and Description |
---|---|
private NoteBlockEvent.Octave |
NoteBlockEvent.Change.oldOctave |
Modifier and Type | Method and Description |
---|---|
(package private) static NoteBlockEvent.Octave |
NoteBlockEvent.Octave.fromId(int id) |
NoteBlockEvent.Octave |
NoteBlockEvent.getOctave()
Get the Octave of the note this Noteblock is tuned to
|
NoteBlockEvent.Octave |
NoteBlockEvent.Change.getOldOctave() |
static NoteBlockEvent.Octave |
NoteBlockEvent.Octave.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoteBlockEvent.Octave[] |
NoteBlockEvent.Octave.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |