Enum ItemOption

java.lang.Object
java.lang.Enum<ItemOption>
net.gcnt.additionsplus.files.ItemOption
All Implemented Interfaces:
Serializable, Comparable<ItemOption>, java.lang.constant.Constable

public enum ItemOption extends Enum<ItemOption>
  • Enum Constant Details

    • DISABLE_DROP

      public static final ItemOption DISABLE_DROP
    • DISABLE_INVENTORY_MOVING

      public static final ItemOption DISABLE_INVENTORY_MOVING
    • DISABLE_PVP

      public static final ItemOption DISABLE_PVP
    • DISABLE_BLOCK_PLACE

      public static final ItemOption DISABLE_BLOCK_PLACE
    • DISABLE_BLOCK_BREAK

      public static final ItemOption DISABLE_BLOCK_BREAK
    • DISABLE_CONSUME

      public static final ItemOption DISABLE_CONSUME
  • Method Details

    • values

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

      public static ItemOption valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null