Enum Class WorldSleep.Awake

java.lang.Object
java.lang.Enum<WorldSleep.Awake>
com.hypixel.hytale.builtin.beds.sleep.resources.WorldSleep.Awake
All Implemented Interfaces:
WorldSleep, Serializable, Comparable<WorldSleep.Awake>, Constable
Enclosing interface:
WorldSleep

public static enum WorldSleep.Awake extends Enum<WorldSleep.Awake> implements WorldSleep
A singleton class representing a world that is fully awake.
  • Enum Constant Details

  • Method Details

    • values

      public static WorldSleep.Awake[] 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 WorldSleep.Awake 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