Interface OminousBottleMeta

All Superinterfaces:
Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder

public interface OminousBottleMeta extends ItemMeta
Represents a map that can be scalable.
  • Method Details

    • hasAmplifier

      boolean hasAmplifier()
      Checks for the presence of an amplifier.
      Returns:
      true if a customer amplifier is applied
    • getAmplifier

      int getAmplifier()
      Gets the amplifier amount for an Ominous Bottle's bad omen effect.

      Plugins should check that hasAmplifier() returns true before calling this method.

      Returns:
      amplifier
    • setAmplifier

      void setAmplifier(int amplifier)
      Sets the amplifier amount for an Ominous Bottle's bad omen effect.
      Parameters:
      amplifier - between 0 and 4
    • clone

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