Enum Class FuzzyConfig.CountMode

java.lang.Object
java.lang.Enum<FuzzyConfig.CountMode>
net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
All Implemented Interfaces:
Serializable, Comparable<FuzzyConfig.CountMode>, Constable
Enclosing class:
FuzzyConfig

public static enum FuzzyConfig.CountMode extends Enum<FuzzyConfig.CountMode>
Enum defining count comparison strategies:
  • IGNORE - Disregards item counts entirely
  • EXACT - Requires identical stack sizes
  • AT_LEAST - Requires source count ≥ target count
  • Enum Constant Details

  • Method Details

    • values

      public static FuzzyConfig.CountMode[] 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 FuzzyConfig.CountMode 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