Enum Class SpawnPointType

java.lang.Object
java.lang.Enum<SpawnPointType>
net.risingworld.api.utils.SpawnPointType
All Implemented Interfaces:
Serializable, Comparable<SpawnPointType>, Constable

public enum SpawnPointType extends Enum<SpawnPointType>
Spawn point types.
  • Enum Constant Details

    • Default

      public static final SpawnPointType Default
      Default spawn type (labeled as "Wilderness")
    • Primary

      public static final SpawnPointType Primary
      Primary spawn type (labeled as "Home")
    • Secondary

      public static final SpawnPointType Secondary
      Secondary spawn type (usually labeled as "Tent")
    • Tertiary

      public static final SpawnPointType Tertiary
      Tertiary spawn type (currently unused)
    • Quaternary

      public static final SpawnPointType Quaternary
      Quaternary spawn type (currently unused)
  • Method Details

    • values

      public static SpawnPointType[] 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 SpawnPointType 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
    • get

      public static SpawnPointType get(int ordinal)