程序包 org.bukkit.inventory.meta

# 接口 OminousBottleMeta

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

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

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull OminousBottleMeta`
  `clone()`
  `int`
  `getAmplifier()`
  Gets the amplifier amount for an Ominous Bottle's bad omen effect.
  `boolean`
  `hasAmplifier()`
  Checks for the presence of an amplifier.
  `void`
  `setAmplifier(int amplifier)`
  Sets the amplifier amount for an Ominous Bottle's bad omen effect.

  ### 从接口继承的方法 org.bukkit.configuration.serialization.ConfigurationSerializable

  `serialize`

  ### 从接口继承的方法 org.bukkit.inventory.meta.ItemMeta

  `addAttributeModifier, addEnchant, addItemFlags, getAsComponentString, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCustomModelData, getCustomTagContainer, getDisplayName, getEnchantLevel, getEnchantmentGlintOverride, getEnchants, getFood, getItemFlags, getItemName, getJukeboxPlayable, getLocalizedName, getLore, getMaxStackSize, getRarity, getTool, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasDisplayName, hasEnchant, hasEnchantmentGlintOverride, hasEnchants, hasFood, hasItemFlag, hasItemName, hasJukeboxPlayable, hasLocalizedName, hasLore, hasMaxStackSize, hasRarity, hasTool, isFireResistant, isHideTooltip, isUnbreakable, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeEnchantments, removeItemFlags, setAttributeModifiers, setCustomModelData, setDisplayName, setEnchantmentGlintOverride, setFireResistant, setFood, setHideTooltip, setItemName, setJukeboxPlayable, setLocalizedName, setLore, setMaxStackSize, setRarity, setTool, setUnbreakable, setVersion`

  ### 从接口继承的方法 org.bukkit.persistence.PersistentDataHolder

  `getPersistentDataContainer`

- ## 方法详细资料

  - ### 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

    @NotNull @NotNull OminousBottleMeta clone()
    指定者:
      `clone` 在接口中 `ItemMeta`