Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.block |
Classes used to manipulate the voxels in a
world ,
including special states. |
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 note.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NoteBlock.play(Instrument instrument,
Note note)
Plays an arbitrary note with an arbitrary instrument at the block.
|
void |
NoteBlock.setNote(Note note)
Set the note.
|
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)
Overrides the
Note to be played. |
Constructor and Description |
---|
NotePlayEvent(Block block,
Instrument instrument,
Note note) |
Copyright © 2021. All rights reserved.