Enum Class Spawner.Result

java.lang.Object
java.lang.Enum<Spawner.Result>
com.hypixel.hytale.builtin.adventure.worldevents.condition.spawner.Spawner.Result
All Implemented Interfaces:
Serializable, Comparable<Spawner.Result>, Constable
Enclosing interface:
Spawner

public static enum Spawner.Result extends Enum<Spawner.Result>
Represents the result of a spawner test operation. The Result enum is used to indicate the outcome of position validation during spawner execution. It provides three possible values: - PASS: Indicates that the position is valid and acceptable. - FAIL: Indicates that the position is invalid and rejected. - ERROR: Indicates that an error occurred during the test.
  • Enum Constant Details

  • Method Details

    • values

      public static Spawner.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 Spawner.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