Package | Description |
---|---|
net.minecraftforge.event.world |
Modifier and Type | Field and Description |
---|---|
private NoteBlockEvent.Note |
NoteBlockEvent.Change.oldNote |
private static NoteBlockEvent.Note[] |
NoteBlockEvent.Note.values |
Modifier and Type | Method and Description |
---|---|
(package private) static NoteBlockEvent.Note |
NoteBlockEvent.Note.fromId(int id) |
NoteBlockEvent.Note |
NoteBlockEvent.getNote()
Get the Note the Noteblock is tuned to
|
NoteBlockEvent.Note |
NoteBlockEvent.Change.getOldNote() |
static NoteBlockEvent.Note |
NoteBlockEvent.Note.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NoteBlockEvent.Note[] |
NoteBlockEvent.Note.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 |