Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
Modifier and Type | Method | Description |
---|---|---|
static @Nullable Note.Tone |
Note.Tone.getById(byte id) |
Deprecated.
Magic value
|
@NotNull Note.Tone |
Note.getTone() |
Returns the tone of this note.
|
static Note.Tone |
Note.Tone.valueOf(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 @NotNull Note |
Note.flat(int octave,
@NotNull Note.Tone tone) |
Creates a new note for a flat tone, such as A-flat.
|
static @NotNull Note |
Note.natural(int octave,
@NotNull Note.Tone tone) |
Creates a new note for a natural tone, such as A-natural.
|
static @NotNull Note |
Note.sharp(int octave,
@NotNull Note.Tone tone) |
Creates a new note for a sharp tone, such as A-sharp.
|
Constructor | Description |
---|---|
Note(int octave,
@NotNull Note.Tone tone,
boolean sharped) |
Creates a new note.
|
Copyright © 2020. All rights reserved.