| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Instrument | |
|---|---|
| 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 | Events relating to when a block is changed or interacts with the world.  | 
| Uses of Instrument in org.bukkit | 
|---|
| Methods in org.bukkit that return Instrument | |
|---|---|
static Instrument | 
Instrument.getByType(byte type)
Deprecated. Magic value  | 
static Instrument | 
Instrument.valueOf(String name)
Returns the enum constant of this type with the specified name.  | 
static Instrument[] | 
Instrument.values()
Returns an array containing the constants of this enum type, in the order they are declared.  | 
| Uses of Instrument in org.bukkit.block | 
|---|
| Methods in org.bukkit.block with parameters of type Instrument | |
|---|---|
 boolean | 
NoteBlock.play(Instrument instrument,
         Note note)
Plays an arbitrary note with an arbitrary instrument  | 
| Uses of Instrument in org.bukkit.entity | 
|---|
| Methods in org.bukkit.entity with parameters of type Instrument | |
|---|---|
 void | 
Player.playNote(Location loc,
                 Instrument instrument,
                 Note note)
Play a note for a player at a location.  | 
| Uses of Instrument in org.bukkit.event.block | 
|---|
| Methods in org.bukkit.event.block that return Instrument | |
|---|---|
 Instrument | 
NotePlayEvent.getInstrument()
Gets the Instrument to be used. | 
| Methods in org.bukkit.event.block with parameters of type Instrument | |
|---|---|
 void | 
NotePlayEvent.setInstrument(Instrument instrument)
Overrides the Instrument to be used. | 
| Constructors in org.bukkit.event.block with parameters of type Instrument | |
|---|---|
NotePlayEvent(Block block,
                           Instrument instrument,
                           Note note)
 | 
|
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||