Package org.bukkit
Class MusicInstrument
java.lang.Object
org.bukkit.MusicInstrument
- All Implemented Interfaces:
Keyed
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrumentstatic final MusicInstrument -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MusicInstrumentgetByKey(NamespacedKey namespacedKey) Deprecated.static Collection<MusicInstrument>values()Deprecated.useIterable.iterator().
-
Field Details
-
PONDER
-
SING
-
SEEK
-
FEEL
-
ADMIRE
-
CALL
-
YEARN
-
DREAM
-
-
Constructor Details
-
MusicInstrument
public MusicInstrument()
-
-
Method Details
-
getByKey
Deprecated.UseRegistry.get(NamespacedKey)instead.Returns aMusicInstrumentby aNamespacedKey.- Parameters:
namespacedKey- the key- Returns:
- the event or null
-
values
Deprecated.useIterable.iterator().Returns all known MusicInstruments.- Returns:
- the memoryKeys
-
Registry.get(NamespacedKey)instead.