Enum Class PlayerEntity.SleepStatus

java.lang.Object
java.lang.Enum<PlayerEntity.SleepStatus>
net.minecraft.entity.player.PlayerEntity.SleepStatus
All Implemented Interfaces:
Serializable, Comparable<PlayerEntity.SleepStatus>, Constable
Enclosing class:
PlayerEntity

public static enum PlayerEntity.SleepStatus extends Enum<PlayerEntity.SleepStatus>
Mappings:
Namespace Name
official zj$a
intermediary net/minecraft/class_988$class_989
named net/minecraft/entity/player/PlayerEntity$SleepStatus
  • Enum Constant Details

    • OK

      public static final PlayerEntity.SleepStatus OK
      Mappings:
      Namespace Name Mixin selector
      official a Lzj$a;a:Lzj$a;
      intermediary field_4014 Lnet/minecraft/class_988$class_989;field_4014:Lnet/minecraft/class_988$class_989;
      named OK Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;OK:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
    • NOT_POSSIBLE_HERE

      public static final PlayerEntity.SleepStatus NOT_POSSIBLE_HERE
      Mappings:
      Namespace Name Mixin selector
      official b Lzj$a;b:Lzj$a;
      intermediary field_4015 Lnet/minecraft/class_988$class_989;field_4015:Lnet/minecraft/class_988$class_989;
      named NOT_POSSIBLE_HERE Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_POSSIBLE_HERE:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
    • NOT_POSSBLE_NOW

      public static final PlayerEntity.SleepStatus NOT_POSSBLE_NOW
      Mappings:
      Namespace Name Mixin selector
      official c Lzj$a;c:Lzj$a;
      intermediary field_4016 Lnet/minecraft/class_988$class_989;field_4016:Lnet/minecraft/class_988$class_989;
      named NOT_POSSBLE_NOW Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_POSSBLE_NOW:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
    • TOO_FAR_AWAY

      public static final PlayerEntity.SleepStatus TOO_FAR_AWAY
      Mappings:
      Namespace Name Mixin selector
      official d Lzj$a;d:Lzj$a;
      intermediary field_4017 Lnet/minecraft/class_988$class_989;field_4017:Lnet/minecraft/class_988$class_989;
      named TOO_FAR_AWAY Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;TOO_FAR_AWAY:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
    • OTHER

      public static final PlayerEntity.SleepStatus OTHER
      Mappings:
      Namespace Name Mixin selector
      official e Lzj$a;e:Lzj$a;
      intermediary field_4018 Lnet/minecraft/class_988$class_989;field_4018:Lnet/minecraft/class_988$class_989;
      named OTHER Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;OTHER:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
    • NOT_SAFE

      public static final PlayerEntity.SleepStatus NOT_SAFE
      Mappings:
      Namespace Name Mixin selector
      official f Lzj$a;f:Lzj$a;
      intermediary field_4019 Lnet/minecraft/class_988$class_989;field_4019:Lnet/minecraft/class_988$class_989;
      named NOT_SAFE Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_SAFE:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
  • Constructor Details

    • SleepStatus

      private SleepStatus()
  • Method Details

    • values

      public static PlayerEntity.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 PlayerEntity.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