Enum PlayerEntity.SleepStatus

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

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

    • OK

      public static final PlayerEntity.SleepStatus OK
      Mappings:
      Namespace Name Mixin selector
      official a Lwn$a;a:Lwn$a;
      intermediary field_8360 Lnet/minecraft/class_1963$class_1964;field_8360:Lnet/minecraft/class_1963$class_1964;
      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 Lwn$a;b:Lwn$a;
      intermediary field_8361 Lnet/minecraft/class_1963$class_1964;field_8361:Lnet/minecraft/class_1963$class_1964;
      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 Lwn$a;c:Lwn$a;
      intermediary field_8362 Lnet/minecraft/class_1963$class_1964;field_8362:Lnet/minecraft/class_1963$class_1964;
      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 Lwn$a;d:Lwn$a;
      intermediary field_8363 Lnet/minecraft/class_1963$class_1964;field_8363:Lnet/minecraft/class_1963$class_1964;
      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 Lwn$a;e:Lwn$a;
      intermediary field_8364 Lnet/minecraft/class_1963$class_1964;field_8364:Lnet/minecraft/class_1963$class_1964;
      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 Lwn$a;f:Lwn$a;
      intermediary field_8365 Lnet/minecraft/class_1963$class_1964;field_8365:Lnet/minecraft/class_1963$class_1964;
      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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PlayerEntity.SleepStatus valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null