Enum Class PlayerEntity.SleepFailureReason

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

public static enum PlayerEntity.SleepFailureReason extends Enum<PlayerEntity.SleepFailureReason>
Mappings:
Namespace Name
official bkd$a
intermediary net/minecraft/class_1657$class_1658
named net/minecraft/entity/player/PlayerEntity$SleepFailureReason
  • Enum Constant Details

    • NOT_POSSIBLE_HERE

      public static final PlayerEntity.SleepFailureReason NOT_POSSIBLE_HERE
      Mappings:
      Namespace Name Mixin selector
      official a Lbkd$a;a:Lbkd$a;
      intermediary field_7528 Lnet/minecraft/class_1657$class_1658;field_7528:Lnet/minecraft/class_1657$class_1658;
      named NOT_POSSIBLE_HERE Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;NOT_POSSIBLE_HERE:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
    • NOT_POSSIBLE_NOW

      public static final PlayerEntity.SleepFailureReason NOT_POSSIBLE_NOW
      Mappings:
      Namespace Name Mixin selector
      official b Lbkd$a;b:Lbkd$a;
      intermediary field_7529 Lnet/minecraft/class_1657$class_1658;field_7529:Lnet/minecraft/class_1657$class_1658;
      named NOT_POSSIBLE_NOW Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;NOT_POSSIBLE_NOW:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
    • TOO_FAR_AWAY

      public static final PlayerEntity.SleepFailureReason TOO_FAR_AWAY
      Mappings:
      Namespace Name Mixin selector
      official c Lbkd$a;c:Lbkd$a;
      intermediary field_7530 Lnet/minecraft/class_1657$class_1658;field_7530:Lnet/minecraft/class_1657$class_1658;
      named TOO_FAR_AWAY Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;TOO_FAR_AWAY:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
    • OBSTRUCTED

      public static final PlayerEntity.SleepFailureReason OBSTRUCTED
      Mappings:
      Namespace Name Mixin selector
      official d Lbkd$a;d:Lbkd$a;
      intermediary field_18592 Lnet/minecraft/class_1657$class_1658;field_18592:Lnet/minecraft/class_1657$class_1658;
      named OBSTRUCTED Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;OBSTRUCTED:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
    • OTHER_PROBLEM

      public static final PlayerEntity.SleepFailureReason OTHER_PROBLEM
      Mappings:
      Namespace Name Mixin selector
      official e Lbkd$a;e:Lbkd$a;
      intermediary field_7531 Lnet/minecraft/class_1657$class_1658;field_7531:Lnet/minecraft/class_1657$class_1658;
      named OTHER_PROBLEM Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;OTHER_PROBLEM:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
    • NOT_SAFE

      public static final PlayerEntity.SleepFailureReason NOT_SAFE
      Mappings:
      Namespace Name Mixin selector
      official f Lbkd$a;f:Lbkd$a;
      intermediary field_7532 Lnet/minecraft/class_1657$class_1658;field_7532:Lnet/minecraft/class_1657$class_1658;
      named NOT_SAFE Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;NOT_SAFE:Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;
  • Field Details

    • text

      @Nullable private final @Nullable Text text
      Mappings:
      Namespace Name Mixin selector
      official g Lbkd$a;g:Los;
      intermediary field_18593 Lnet/minecraft/class_1657$class_1658;field_18593:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;text:Lnet/minecraft/text/Text;
  • Constructor Details

    • SleepFailureReason

      private SleepFailureReason()
    • SleepFailureReason

      private SleepFailureReason(Text text)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkd$a;<init>(Ljava/lang/String;ILos;)V
      intermediary <init> Lnet/minecraft/class_1657$class_1658;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;)V
  • Method Details

    • values

      public static PlayerEntity.SleepFailureReason[] 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.SleepFailureReason 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
    • toText

      @Nullable public @Nullable Text toText()
      Mappings:
      Namespace Name Mixin selector
      official a Lbkd$a;a()Los;
      intermediary method_19206 Lnet/minecraft/class_1657$class_1658;method_19206()Lnet/minecraft/class_2561;
      named toText Lnet/minecraft/entity/player/PlayerEntity$SleepFailureReason;toText()Lnet/minecraft/text/Text;