Uses of Enum Class
org.bukkit.Instrument
Packages that use Instrument
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Specific BlockData classes relevant to only a given block or set of blocks.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.-
Uses of Instrument in org.bukkit
Methods in org.bukkit that return InstrumentModifier and TypeMethodDescriptionstatic InstrumentInstrument.getByType(byte type) Deprecated.Magic valuestatic InstrumentReturns the enum constant of this class with the specified name.static Instrument[]Instrument.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit with parameters of type InstrumentModifier and TypeMethodDescriptionvoidWorld.playNote(Location loc, Instrument instrument, Note note) Play a note at the provided Location in the World. -
Uses of Instrument in org.bukkit.block.data.type
Methods in org.bukkit.block.data.type that return InstrumentModifier and TypeMethodDescriptionNoteBlock.getInstrument()Gets the value of the 'instrument' property.Methods in org.bukkit.block.data.type with parameters of type InstrumentModifier and TypeMethodDescriptionvoidNoteBlock.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 InstrumentModifier and TypeMethodDescriptionvoidPlayer.playNote(Location loc, Instrument instrument, Note note) Play a note for the player at a location. -
Uses of Instrument in org.bukkit.event.block
Methods in org.bukkit.event.block that return InstrumentMethods in org.bukkit.event.block with parameters of type InstrumentModifier and TypeMethodDescriptionvoidNotePlayEvent.setInstrument(Instrument instrument) Deprecated.no effect on newer Minecraft versionsConstructors in org.bukkit.event.block with parameters of type Instrument