Enum Class ItemOption

java.lang.Object
java.lang.Enum<ItemOption>
dev.despical.fileitems.ItemOption
All Implemented Interfaces:
Serializable, Comparable<ItemOption>, Constable

public enum ItemOption extends Enum<ItemOption>
Author:
Despical

Created at 18.09.2024

  • Enum Constant Details

    • AMOUNT

      public static final ItemOption AMOUNT
    • CUSTOM_KEYS

      public static final ItemOption CUSTOM_KEYS
    • CUSTOM_MODEL_DATA

      public static final ItemOption CUSTOM_MODEL_DATA
    • DATA

      public static final ItemOption DATA
    • DURABILITY

      public static final ItemOption DURABILITY
    • ENCHANTS

      public static final ItemOption ENCHANTS
    • GLOW

      public static final ItemOption GLOW
    • HIDE_TOOLTIP

      public static final ItemOption HIDE_TOOLTIP
    • ITEM_FLAGS

      public static final ItemOption ITEM_FLAGS
    • LORE

      public static final ItemOption LORE
    • MATERIAL

      public static final ItemOption MATERIAL
    • NAME

      public static final ItemOption NAME
    • ORAXEN

      public static final ItemOption ORAXEN
    • UNBREAKABLE

      public static final ItemOption UNBREAKABLE
  • Method Details

    • values

      public static ItemOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ItemOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • enableOptions

      public static void enableOptions(ItemOption... options)
    • disableOptions

      public static void disableOptions(ItemOption... options)
    • setColorFormatter

      public static void setColorFormatter(UnaryOperator<String> colorFormatter)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)