Enum Class HandYields

java.lang.Object
java.lang.Enum<HandYields>
dev.satyrn.sowwhatyoureap.utils.HandYields
All Implemented Interfaces:
Serializable, Comparable<HandYields>, Constable

public enum HandYields extends Enum<HandYields>
Represents the valid values of the Hand Yield configuration entry.
Since:
0.0.0-SNAPSHOT
Author:
Isabel Maskrey
  • Enum Constant Details

    • NONE

      public static final HandYields NONE
      No yield from hands
    • ONE

      public static final HandYields ONE
      One drop from hands
    • MINIMUM

      public static final HandYields MINIMUM
      Minimum drop from hands
    • MINIMUM_WITH_SEEDS

      public static final HandYields MINIMUM_WITH_SEEDS
      Minimum drop with minimum seeds from hands
    • NO_SEEDS

      public static final HandYields NO_SEEDS
      Random between min and max, but no seeds
    • SAME_AS_HOE

      public static final HandYields SAME_AS_HOE
      Uses same logic as the hoe
  • Method Details

    • values

      public static HandYields[] 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 HandYields 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