Enum Class SoulHarvesterUpgradeType

java.lang.Object
java.lang.Enum<SoulHarvesterUpgradeType>
valorless.rarespawns.enums.SoulHarvesterUpgradeType
All Implemented Interfaces:
Serializable, Comparable<SoulHarvesterUpgradeType>, Constable

public enum SoulHarvesterUpgradeType extends Enum<SoulHarvesterUpgradeType>
Enumeration of different types of Soul Harvester upgrades.

Defines the various categories of upgrades that can be applied to a Soul Harvester, such as attribute modifications, enchantments, power enhancements, model data changes, and item model alterations and more.

  • Enum Constant Details

  • Method Details

    • values

      public static SoulHarvesterUpgradeType[] 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 SoulHarvesterUpgradeType 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
    • fromString

      public static SoulHarvesterUpgradeType fromString(String s)
      Converts a string representation to the corresponding SoulHarvesterUpgradeType enum value.

      The comparison is case-insensitive. If the input string does not match any enum value, the method returns null.

      Parameters:
      s - the string representation of the upgrade type
      Returns:
      the corresponding SoulHarvesterUpgradeType enum value, or null if no match is found