Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
Modifier and Type | Method | Description |
---|---|---|
static Note.Tone |
Note.Tone.getById(byte id) |
Deprecated.
Magic value
|
Note.Tone |
Note.getTone() |
Returns the tone of this note.
|
static Note.Tone |
Note.Tone.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Note.Tone[] |
Note.Tone.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
static Note |
Note.flat(int octave,
Note.Tone tone) |
Creates a new note for a flat tone, such as A-flat.
|
static Note |
Note.natural(int octave,
Note.Tone tone) |
Creates a new note for a natural tone, such as A-natural.
|
static Note |
Note.sharp(int octave,
Note.Tone tone) |
Creates a new note for a sharp tone, such as A-sharp.
|
Constructor | Description |
---|---|
Note(int octave,
Note.Tone tone,
boolean sharped) |
Creates a new note.
|
Copyright © 2018. All rights reserved.