Package net.minecraft.entity.player
Enum Class SleepAttemptResult
- All Implemented Interfaces:
Serializable,Comparable<SleepAttemptResult>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_141glue class_71server bwclient cwnamed net/minecraft/entity/player/SleepAttemptResult
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SleepAttemptResultReturns the enum constant of this class with the specified name.static SleepAttemptResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
- Mappings:
Namespace Name Mixin selector intermediary field_2660Lnet/minecraft/class_141;field_2660:Lnet/minecraft/class_141;glue field_149Lclass_71;field_149:Lclass_71;server aLbw;a:Lbw;client aLcw;a:Lcw;named OKLnet/minecraft/entity/player/SleepAttemptResult;OK:Lnet/minecraft/entity/player/SleepAttemptResult;
-
NOT_POSSIBLE_HERE
- Mappings:
Namespace Name Mixin selector intermediary field_2661Lnet/minecraft/class_141;field_2661:Lnet/minecraft/class_141;glue field_150Lclass_71;field_150:Lclass_71;server bLbw;b:Lbw;client bLcw;b:Lcw;named NOT_POSSIBLE_HERELnet/minecraft/entity/player/SleepAttemptResult;NOT_POSSIBLE_HERE:Lnet/minecraft/entity/player/SleepAttemptResult;
-
NOT_POSSIBLE_NOW
- Mappings:
Namespace Name Mixin selector intermediary field_2662Lnet/minecraft/class_141;field_2662:Lnet/minecraft/class_141;glue field_151Lclass_71;field_151:Lclass_71;server cLbw;c:Lbw;client cLcw;c:Lcw;named NOT_POSSIBLE_NOWLnet/minecraft/entity/player/SleepAttemptResult;NOT_POSSIBLE_NOW:Lnet/minecraft/entity/player/SleepAttemptResult;
-
TOO_FAR_AWAY
- Mappings:
Namespace Name Mixin selector intermediary field_2663Lnet/minecraft/class_141;field_2663:Lnet/minecraft/class_141;glue field_152Lclass_71;field_152:Lclass_71;server dLbw;d:Lbw;client dLcw;d:Lcw;named TOO_FAR_AWAYLnet/minecraft/entity/player/SleepAttemptResult;TOO_FAR_AWAY:Lnet/minecraft/entity/player/SleepAttemptResult;
-
OTHER_PROBLEM
- Mappings:
Namespace Name Mixin selector intermediary field_2664Lnet/minecraft/class_141;field_2664:Lnet/minecraft/class_141;glue field_153Lclass_71;field_153:Lclass_71;server eLbw;e:Lbw;client eLcw;e:Lcw;named OTHER_PROBLEMLnet/minecraft/entity/player/SleepAttemptResult;OTHER_PROBLEM:Lnet/minecraft/entity/player/SleepAttemptResult;
-
-
Constructor Details
-
SleepAttemptResult
private SleepAttemptResult()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-