Contents
Enum Class AugmentUpgrades.Result
java.lang.Object
java.lang.Enum<AugmentUpgrades.Result>
com.hypixel.hytale.builtin.augmentblocks.AugmentUpgrades.Result
- All Implemented Interfaces:
Serializable, Comparable<AugmentUpgrades.Result>, Constable
- Enclosing class:
AugmentUpgrades
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo next level exists.The block could not be resolved or the replacement target is invalid; close the UI.The player cannot pay the next level's cost.The level replaced the block; the block entity behind the given ref no longer exists, close the UI.The next level's required augment tags are not granted nearby.The level was raised and its state applied; rebuild the UI to show it. -
Method Summary
Modifier and TypeMethodDescriptionstatic AugmentUpgrades.ResultReturns the enum constant of this class with the specified name.static AugmentUpgrades.Result[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Upgraded
The level was raised and its state applied; rebuild the UI to show it. -
Replaced
The level replaced the block; the block entity behind the given ref no longer exists, close the UI. -
FullyUpgraded
No next level exists. -
RequirementsNotMet
The next level's required augment tags are not granted nearby. -
MissingMaterials
The player cannot pay the next level's cost. -
Invalid
The block could not be resolved or the replacement target is invalid; close the UI.
-
-
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
-