接口 OminousBottleMeta

所有超级接口:
Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder

public interface OminousBottleMeta extends ItemMeta
Represents a map that can be scalable.
  • 方法详细资料

    • hasAmplifier

      boolean hasAmplifier()
      Checks for the presence of an amplifier.
      返回:
      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.

      返回:
      amplifier
    • setAmplifier

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

      指定者:
      clone 在接口中 ItemMeta