Enum Class SleepStatus

java.lang.Object
java.lang.Enum<SleepStatus>
net.minecraft.util.SleepStatus
All Implemented Interfaces:
Serializable, Comparable<SleepStatus>, Constable

public enum SleepStatus extends Enum<SleepStatus>
Mappings:
Namespace Name
intermediary net/minecraft/class_141
glue class_71
server bw
client cw
named net/minecraft/util/SleepStatus
  • Enum Constant Details

    • OK

      public static final SleepStatus OK
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2660 Lnet/minecraft/class_141;field_2660:Lnet/minecraft/class_141;
      glue field_149 Lclass_71;field_149:Lclass_71;
      server a Lbw;a:Lbw;
      client a Lcw;a:Lcw;
      named OK Lnet/minecraft/util/SleepStatus;OK:Lnet/minecraft/util/SleepStatus;
    • CANT_SLEEP_HERE

      public static final SleepStatus CANT_SLEEP_HERE
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2661 Lnet/minecraft/class_141;field_2661:Lnet/minecraft/class_141;
      glue field_150 Lclass_71;field_150:Lclass_71;
      server b Lbw;b:Lbw;
      client b Lcw;b:Lcw;
      named CANT_SLEEP_HERE Lnet/minecraft/util/SleepStatus;CANT_SLEEP_HERE:Lnet/minecraft/util/SleepStatus;
    • DAY_TIME

      public static final SleepStatus DAY_TIME
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2662 Lnet/minecraft/class_141;field_2662:Lnet/minecraft/class_141;
      glue field_151 Lclass_71;field_151:Lclass_71;
      server c Lbw;c:Lbw;
      client c Lcw;c:Lcw;
      named DAY_TIME Lnet/minecraft/util/SleepStatus;DAY_TIME:Lnet/minecraft/util/SleepStatus;
    • TOO_FAR_AWAY

      public static final SleepStatus TOO_FAR_AWAY
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2663 Lnet/minecraft/class_141;field_2663:Lnet/minecraft/class_141;
      glue field_152 Lclass_71;field_152:Lclass_71;
      server d Lbw;d:Lbw;
      client d Lcw;d:Lcw;
      named TOO_FAR_AWAY Lnet/minecraft/util/SleepStatus;TOO_FAR_AWAY:Lnet/minecraft/util/SleepStatus;
    • YOU_SLEEPING_OR_DEAD

      public static final SleepStatus YOU_SLEEPING_OR_DEAD
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2664 Lnet/minecraft/class_141;field_2664:Lnet/minecraft/class_141;
      glue field_153 Lclass_71;field_153:Lclass_71;
      server e Lbw;e:Lbw;
      client e Lcw;e:Lcw;
      named YOU_SLEEPING_OR_DEAD Lnet/minecraft/util/SleepStatus;YOU_SLEEPING_OR_DEAD:Lnet/minecraft/util/SleepStatus;
  • Constructor Details

    • SleepStatus

      private SleepStatus()
  • Method Details

    • values

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