Package be.seeseemelk.mockbukkit
Class MusicInstrumentMock
java.lang.Object
org.bukkit.MusicInstrument
be.seeseemelk.mockbukkit.MusicInstrumentMock
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed,net.kyori.adventure.translation.Translatable,org.bukkit.Keyed
public class MusicInstrumentMock
extends org.bukkit.MusicInstrument
-
Field Summary
Fields inherited from class org.bukkit.MusicInstrument
ADMIRE_GOAT_HORN, CALL_GOAT_HORN, DREAM_GOAT_HORN, FEEL_GOAT_HORN, PONDER_GOAT_HORN, SEEK_GOAT_HORN, SING_GOAT_HORN, YEARN_GOAT_HORN -
Method Summary
Modifier and TypeMethodDescriptionstatic MusicInstrumentMockfrom(com.google.gson.JsonObject data) @NotNull org.bukkit.NamespacedKeygetKey()Methods inherited from class org.bukkit.MusicInstrument
getByKey, translationKey, valuesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
key
-
Method Details
-
getKey
@NotNull public @NotNull org.bukkit.NamespacedKey getKey()- Specified by:
getKeyin interfaceorg.bukkit.Keyed- Specified by:
getKeyin classorg.bukkit.MusicInstrument
-
from
-