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 and Description |
---|---|
static Note |
Note.flat(int octave,
Note.Tone tone)
Creates a new note for a flat tone, such as A-flat.
|
Note |
Note.flattened() |
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.
|
Note |
Note.sharped() |
Modifier and Type | Method and Description |
---|---|
Note |
NoteBlock.getNote()
Gets the value of the 'note' property.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteBlock.setNote(Note note)
Sets the value of the 'note' property.
|
Modifier and Type | Method and Description |
---|---|
void |
Player.playNote(Location loc,
Instrument instrument,
Note note)
Play a note for a player at a location.
|
Modifier and Type | Method and Description |
---|---|
Note |
NotePlayEvent.getNote()
Gets the
Note to be played. |
Modifier and Type | Method and Description |
---|---|
void |
NotePlayEvent.setNote(Note note)
Deprecated.
no effect on newer Minecraft versions
|
Constructor and Description |
---|
NotePlayEvent(Block block,
Instrument instrument,
Note note) |
Copyright © 2021. All rights reserved.