Package valorless.rarespawns.enums
Enum Class SoulHarvesterUpgradeType
- All Implemented Interfaces:
Serializable,Comparable<SoulHarvesterUpgradeType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic SoulHarvesterUpgradeTypefromString(String s) Converts a string representation to the corresponding SoulHarvesterUpgradeType enum value.static SoulHarvesterUpgradeTypeReturns the enum constant of this class with the specified name.static SoulHarvesterUpgradeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ATTRIBUTE
-
ENCHANTMENT
-
POWER
-
MODELDATA
-
ITEMMODEL
-
ITEMNAME
-
DISPLAYNAME
-
LORE
-
LOREADD
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromString
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
-