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

public static enum AugmentUpgrades.Result extends Enum<AugmentUpgrades.Result>
  • Enum Constant Details

    • Upgraded

      public static final AugmentUpgrades.Result Upgraded
      The level was raised and its state applied; rebuild the UI to show it.
    • Replaced

      public static final AugmentUpgrades.Result Replaced
      The level replaced the block; the block entity behind the given ref no longer exists, close the UI.
    • FullyUpgraded

      public static final AugmentUpgrades.Result FullyUpgraded
      No next level exists.
    • RequirementsNotMet

      public static final AugmentUpgrades.Result RequirementsNotMet
      The next level's required augment tags are not granted nearby.
    • MissingMaterials

      public static final AugmentUpgrades.Result MissingMaterials
      The player cannot pay the next level's cost.
    • Invalid

      public static final AugmentUpgrades.Result Invalid
      The block could not be resolved or the replacement target is invalid; close the UI.
  • Method Details

    • values

      public static AugmentUpgrades.Result[] 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 AugmentUpgrades.Result 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