Uses of Class
org.bukkit.Instrument
-
Packages that use Instrument Package Description org.bukkit More generalized classes in the API.org.bukkit.block Classes used to manipulate the voxels in aworld
, including special states.org.bukkit.block.data.type org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld
, including all players, monsters, projectiles, etc.org.bukkit.event.block -
-
Uses of Instrument in org.bukkit
Methods in org.bukkit that return Instrument Modifier and Type Method Description static Instrument
Instrument. getByType(byte type)
Deprecated.Magic valuestatic 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 Modifier and Type Method Description boolean
NoteBlock. play(Instrument instrument, Note note)
Deprecated.Plays an arbitrary note with an arbitrary instrument at the block. -
Uses of Instrument in org.bukkit.block.data.type
Methods in org.bukkit.block.data.type that return Instrument Modifier and Type Method Description Instrument
NoteBlock. getInstrument()
Gets the value of the 'instrument' property.Methods in org.bukkit.block.data.type with parameters of type Instrument Modifier and Type Method Description void
NoteBlock. setInstrument(Instrument instrument)
Sets the value of the 'instrument' property. -
Uses of Instrument in org.bukkit.entity
Methods in org.bukkit.entity with parameters of type Instrument Modifier and Type Method Description 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 Modifier and Type Method Description Instrument
NotePlayEvent. getInstrument()
Gets theInstrument
to be used.Methods in org.bukkit.event.block with parameters of type Instrument Modifier and Type Method Description void
NotePlayEvent. setInstrument(Instrument instrument)
Deprecated.no effect on newer Minecraft versionsConstructors in org.bukkit.event.block with parameters of type Instrument Constructor Description NotePlayEvent(Block block, Instrument instrument, Note note)
-