Package net.minecraft.entity.player
Enum 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$aintermediary net/minecraft/class_1963$class_1964named 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 Enum Constant Description NOT_POSSBLE_NOWNOT_POSSIBLE_HERENOT_SAFEOKOTHERTOO_FAR_AWAY -
Constructor Summary
Constructors Modifier Constructor Description privateSleepStatus() -
Method Summary
Modifier and Type Method Description static PlayerEntity.SleepStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static PlayerEntity.SleepStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OK
- Mappings:
Namespace Name Mixin selector official aLwn$a;a:Lwn$a;intermediary field_8360Lnet/minecraft/class_1963$class_1964;field_8360:Lnet/minecraft/class_1963$class_1964;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_8361Lnet/minecraft/class_1963$class_1964;field_8361:Lnet/minecraft/class_1963$class_1964;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_8362Lnet/minecraft/class_1963$class_1964;field_8362:Lnet/minecraft/class_1963$class_1964;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_8363Lnet/minecraft/class_1963$class_1964;field_8363:Lnet/minecraft/class_1963$class_1964;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_8364Lnet/minecraft/class_1963$class_1964;field_8364:Lnet/minecraft/class_1963$class_1964;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_8365Lnet/minecraft/class_1963$class_1964;field_8365:Lnet/minecraft/class_1963$class_1964;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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-