Enum Class SleepAttemptResult

java.lang.Object
java.lang.Enum<SleepAttemptResult>
net.minecraft.entity.player.SleepAttemptResult
All Implemented Interfaces:
Serializable, Comparable<SleepAttemptResult>, Constable

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

    • OK

      public static final SleepAttemptResult 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/entity/player/SleepAttemptResult;OK:Lnet/minecraft/entity/player/SleepAttemptResult;
    • NOT_POSSIBLE_HERE

      public static final SleepAttemptResult NOT_POSSIBLE_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 NOT_POSSIBLE_HERE Lnet/minecraft/entity/player/SleepAttemptResult;NOT_POSSIBLE_HERE:Lnet/minecraft/entity/player/SleepAttemptResult;
    • NOT_POSSIBLE_NOW

      public static final SleepAttemptResult NOT_POSSIBLE_NOW
      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 NOT_POSSIBLE_NOW Lnet/minecraft/entity/player/SleepAttemptResult;NOT_POSSIBLE_NOW:Lnet/minecraft/entity/player/SleepAttemptResult;
    • TOO_FAR_AWAY

      public static final SleepAttemptResult 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/entity/player/SleepAttemptResult;TOO_FAR_AWAY:Lnet/minecraft/entity/player/SleepAttemptResult;
    • OTHER_PROBLEM

      public static final SleepAttemptResult OTHER_PROBLEM
      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 OTHER_PROBLEM Lnet/minecraft/entity/player/SleepAttemptResult;OTHER_PROBLEM:Lnet/minecraft/entity/player/SleepAttemptResult;
  • Constructor Details

    • SleepAttemptResult

      private SleepAttemptResult()
  • Method Details

    • values

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