Interface MusicInstrumentMeta

All Superinterfaces:
Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder

public interface MusicInstrumentMeta extends ItemMeta
  • Method Details

    • setInstrument

      void setInstrument(@Nullable MusicInstrument instrument)
      Sets the goat horn's instrument.
      Parameters:
      instrument - the instrument to set
    • getInstrument

      @Nullable MusicInstrument getInstrument()
      Gets the instrument of the goat horn.
      Returns:
      The instrument of the goat horn
    • clone

      @NotNull MusicInstrumentMeta clone()
      Specified by:
      clone in interface ItemMeta