Enum Class Config

java.lang.Object
java.lang.Enum<Config>
com.beansgalaxy.backpacks.data.config.Config
All Implemented Interfaces:
Serializable, Comparable<Config>, Constable

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

    • LEATHER_MAX_STACKS

      public static final Config LEATHER_MAX_STACKS
    • ENDER_MAX_STACKS

      public static final Config ENDER_MAX_STACKS
    • WINGED_MAX_STACKS

      public static final Config WINGED_MAX_STACKS
    • METAL_MAX_STACKS

      public static final Config METAL_MAX_STACKS
    • POT_MAX_STACKS

      public static final Config POT_MAX_STACKS
    • CAULDRON_MAX_BUCKETS

      public static final Config CAULDRON_MAX_BUCKETS
    • UNBIND_ENDER_ON_DEATH

      public static final Config UNBIND_ENDER_ON_DEATH
    • LOCK_ENDER_OFFLINE

      public static final Config LOCK_ENDER_OFFLINE
    • LOCK_BACKPACK_OFFLINE

      public static final Config LOCK_BACKPACK_OFFLINE
    • LOCK_BACKPACK_NOT_OWNER

      public static final Config LOCK_BACKPACK_NOT_OWNER
    • LOCK_BACKPACK_NO_KEY

      public static final Config LOCK_BACKPACK_NO_KEY
    • KEEP_BACK_SLOT

      public static final Config KEEP_BACK_SLOT
    • INSTANT_PLACE

      public static final Config INSTANT_PLACE
    • TOOLTIP_TYPE

      public static final Config TOOLTIP_TYPE
  • Field Details

  • Method Details

    • values

      public static Config[] 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 Config 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
    • get

      public <T> T get(Class<T> clazz)