| 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.block.data.type | |
| 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()
Deprecated.  
Gets the note. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
NoteBlock.play(Instrument instrument,
    Note note)
Deprecated.  
Plays an arbitrary note with an arbitrary instrument at the block. 
 | 
void | 
NoteBlock.setNote(Note note)
Deprecated.  
Set the note. 
 | 
| 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 © 2022. All rights reserved.