Package net.minecraft.util
Enum Class CanSleepEnum
- All Implemented Interfaces:
Serializable,Comparable<CanSleepEnum>,Constable
- Mappings:
Namespace Name official ahfintermediary net/minecraft/class_989named net/minecraft/util/CanSleepEnum
-
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 CanSleepEnumReturns the enum constant of this class with the specified name.static CanSleepEnum[]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 aLahf;a:Lahf;intermediary field_4014Lnet/minecraft/class_989;field_4014:Lnet/minecraft/class_989;named OKLnet/minecraft/util/CanSleepEnum;OK:Lnet/minecraft/util/CanSleepEnum;
-
NOT_POSSIBLE_HERE
- Mappings:
Namespace Name Mixin selector official bLahf;b:Lahf;intermediary field_4015Lnet/minecraft/class_989;field_4015:Lnet/minecraft/class_989;named NOT_POSSIBLE_HERELnet/minecraft/util/CanSleepEnum;NOT_POSSIBLE_HERE:Lnet/minecraft/util/CanSleepEnum;
-
NOT_POSSIBLE_NOW
- Mappings:
Namespace Name Mixin selector official cLahf;c:Lahf;intermediary field_4016Lnet/minecraft/class_989;field_4016:Lnet/minecraft/class_989;named NOT_POSSIBLE_NOWLnet/minecraft/util/CanSleepEnum;NOT_POSSIBLE_NOW:Lnet/minecraft/util/CanSleepEnum;
-
TOO_FAR_AWAY
- Mappings:
Namespace Name Mixin selector official dLahf;d:Lahf;intermediary field_4017Lnet/minecraft/class_989;field_4017:Lnet/minecraft/class_989;named TOO_FAR_AWAYLnet/minecraft/util/CanSleepEnum;TOO_FAR_AWAY:Lnet/minecraft/util/CanSleepEnum;
-
OTHER_PROBLEM
- Mappings:
Namespace Name Mixin selector official eLahf;e:Lahf;intermediary field_4018Lnet/minecraft/class_989;field_4018:Lnet/minecraft/class_989;named OTHER_PROBLEMLnet/minecraft/util/CanSleepEnum;OTHER_PROBLEM:Lnet/minecraft/util/CanSleepEnum;
-
NOT_SAFE
- Mappings:
Namespace Name Mixin selector official fLahf;f:Lahf;intermediary field_4019Lnet/minecraft/class_989;field_4019:Lnet/minecraft/class_989;named NOT_SAFELnet/minecraft/util/CanSleepEnum;NOT_SAFE:Lnet/minecraft/util/CanSleepEnum;
-
-
Constructor Details
-
CanSleepEnum
private CanSleepEnum()
-
-
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
-