Enum Class SpawnTestResult

java.lang.Object
java.lang.Enum<SpawnTestResult>
com.hypixel.hytale.server.spawning.SpawnTestResult
All Implemented Interfaces:
Serializable, Comparable<SpawnTestResult>, Constable

public enum SpawnTestResult extends Enum<SpawnTestResult>
  • Enum Constant Details

    • TEST_OK

      public static final SpawnTestResult TEST_OK
    • FAIL_NO_POSITION

      public static final SpawnTestResult FAIL_NO_POSITION
    • FAIL_INVALID_POSITION

      public static final SpawnTestResult FAIL_INVALID_POSITION
    • FAIL_INTERSECT_ENTITY

      public static final SpawnTestResult FAIL_INTERSECT_ENTITY
    • FAIL_NO_MOTION_CONTROLLERS

      public static final SpawnTestResult FAIL_NO_MOTION_CONTROLLERS
    • FAIL_NOT_SPAWNABLE

      public static final SpawnTestResult FAIL_NOT_SPAWNABLE
    • FAIL_NOT_BREATHABLE

      public static final SpawnTestResult FAIL_NOT_BREATHABLE
  • Constructor Details

    • SpawnTestResult

      private SpawnTestResult()
  • Method Details

    • values

      public static SpawnTestResult[] 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 SpawnTestResult 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