Package net.minecraft.entity.player
Enum Class PlayerEntity.SleepStatus
- All Implemented Interfaces:
Serializable,Comparable<PlayerEntity.SleepStatus>,Constable
- Enclosing class:
- PlayerEntity
- Mappings:
Namespace Name official wn$aintermediary net/minecraft/class_988$class_989named net/minecraft/entity/player/PlayerEntity$SleepStatus
-
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 PlayerEntity.SleepStatusReturns the enum constant of this class with the specified name.static PlayerEntity.SleepStatus[]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 official aLwn$a;a:Lwn$a;intermediary field_4014Lnet/minecraft/class_988$class_989;field_4014:Lnet/minecraft/class_988$class_989;named OKLnet/minecraft/entity/player/PlayerEntity$SleepStatus;OK:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
NOT_POSSIBLE_HERE
- Mappings:
Namespace Name Mixin selector official bLwn$a;b:Lwn$a;intermediary field_4015Lnet/minecraft/class_988$class_989;field_4015:Lnet/minecraft/class_988$class_989;named NOT_POSSIBLE_HERELnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_POSSIBLE_HERE:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
NOT_POSSBLE_NOW
- Mappings:
Namespace Name Mixin selector official cLwn$a;c:Lwn$a;intermediary field_4016Lnet/minecraft/class_988$class_989;field_4016:Lnet/minecraft/class_988$class_989;named NOT_POSSBLE_NOWLnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_POSSBLE_NOW:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
TOO_FAR_AWAY
- Mappings:
Namespace Name Mixin selector official dLwn$a;d:Lwn$a;intermediary field_4017Lnet/minecraft/class_988$class_989;field_4017:Lnet/minecraft/class_988$class_989;named TOO_FAR_AWAYLnet/minecraft/entity/player/PlayerEntity$SleepStatus;TOO_FAR_AWAY:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
OTHER
- Mappings:
Namespace Name Mixin selector official eLwn$a;e:Lwn$a;intermediary field_4018Lnet/minecraft/class_988$class_989;field_4018:Lnet/minecraft/class_988$class_989;named OTHERLnet/minecraft/entity/player/PlayerEntity$SleepStatus;OTHER:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
NOT_SAFE
- Mappings:
Namespace Name Mixin selector official fLwn$a;f:Lwn$a;intermediary field_4019Lnet/minecraft/class_988$class_989;field_4019:Lnet/minecraft/class_988$class_989;named NOT_SAFELnet/minecraft/entity/player/PlayerEntity$SleepStatus;NOT_SAFE:Lnet/minecraft/entity/player/PlayerEntity$SleepStatus;
-
-
Constructor Details
-
SleepStatus
private SleepStatus()
-
-
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
-