Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.block.data.type |
Specific BlockData classes relevant to only a given block or set of blocks.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.block |
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.
|
@NotNull Note |
Note.flattened() |
|
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.
|
@NotNull Note |
Note.sharped() |
Modifier and Type | Method | Description |
---|---|---|
@NotNull Note |
NoteBlock.getNote() |
Gets the value of the 'note' property.
|
Modifier and Type | Method | Description |
---|---|---|
void |
NoteBlock.setNote(@NotNull Note note) |
Sets the value of the 'note' property.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Player.playNote(@NotNull Location loc,
@NotNull Instrument instrument,
@NotNull Note note) |
Play a note for a player at a location.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Note |
NotePlayEvent.getNote() |
Gets the
Note to be played. |
Modifier and Type | Method | Description |
---|---|---|
void |
NotePlayEvent.setNote(@NotNull Note note) |
Deprecated.
no effect on newer Minecraft versions
|
Constructor | Description |
---|---|
NotePlayEvent(@NotNull Block block,
@NotNull Instrument instrument,
@NotNull Note note) |
Copyright © 2020. All rights reserved.