Enum Class SpawnRejection

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

public enum SpawnRejection extends Enum<SpawnRejection>
Created on 20/03/2019
  • Enum Constant Details

    • OUTSIDE_LIGHT_RANGE

      public static final SpawnRejection OUTSIDE_LIGHT_RANGE
    • INVALID_SPAWN_BLOCK

      public static final SpawnRejection INVALID_SPAWN_BLOCK
    • INVALID_POSITION

      public static final SpawnRejection INVALID_POSITION
    • NO_POSITION

      public static final SpawnRejection NO_POSITION
    • NOT_BREATHABLE

      public static final SpawnRejection NOT_BREATHABLE
    • NO_MOTION_CONTROLLERS

      public static final SpawnRejection NO_MOTION_CONTROLLERS
    • NO_MOTION_CONTROLLER_MATCH

      public static final SpawnRejection NO_MOTION_CONTROLLER_MATCH
    • BREATHING_INCOMPATIBLE

      public static final SpawnRejection BREATHING_INCOMPATIBLE
    • OTHER

      public static final SpawnRejection OTHER
  • Field Details

  • Method Details

    • values

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