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 -
Method Summary
Modifier and TypeMethodDescriptionstatic MusicInstrumentgetByKey(NamespacedKey namespacedKey) Returns aMusicInstrumentby aNamespacedKey.getKey()Return the namespaced identifier for this object.static Collection<MusicInstrument>values()Returns all known MusicInstruments.
-
Field Details
-
PONDER
-
SING
-
SEEK
-
FEEL
-
ADMIRE
-
CALL
-
YEARN
-
DREAM
-
-
Method Details
-
getKey
Description copied from interface:KeyedReturn the namespaced identifier for this object. -
getByKey
Returns aMusicInstrumentby aNamespacedKey.- Parameters:
namespacedKey- the key- Returns:
- the event or null
-
values
Returns all known MusicInstruments.- Returns:
- the memoryKeys
-