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 Type
    Method
    Description
    from(com.google.gson.JsonObject data)
     
    @NotNull org.bukkit.NamespacedKey
     

    Methods inherited from class org.bukkit.MusicInstrument

    getByKey, translationKey, values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key
  • Method Details

    • getKey

      @NotNull public @NotNull org.bukkit.NamespacedKey getKey()
      Specified by:
      getKey in interface org.bukkit.Keyed
      Specified by:
      getKey in class org.bukkit.MusicInstrument
    • from

      @Internal public static MusicInstrumentMock from(com.google.gson.JsonObject data)