Package net.minecraft
Enum Class class_8332
- All Implemented Interfaces:
Serializable,Comparable<class_8332>,Constable,StringIdentifiable
- Mappings:
Namespace Name official bfhintermediary net/minecraft/class_8332named net/minecraft/class_8332
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<class_8332>private final Stringprivate final TextFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static class_8332Returns the enum constant of this class with the specified name.static class_8332[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESPAWN_ALL
- Mappings:
Namespace Name Mixin selector official aLbfh;a:Lbfh;intermediary field_43880Lnet/minecraft/class_8332;field_43880:Lnet/minecraft/class_8332;named DESPAWN_ALLLnet/minecraft/class_8332;DESPAWN_ALL:Lnet/minecraft/class_8332;
-
KEEP_PLAYER_DROPS
- Mappings:
Namespace Name Mixin selector official bLbfh;b:Lbfh;intermediary field_43881Lnet/minecraft/class_8332;field_43881:Lnet/minecraft/class_8332;named KEEP_PLAYER_DROPSLnet/minecraft/class_8332;KEEP_PLAYER_DROPS:Lnet/minecraft/class_8332;
-
DESPAWN_NONE
- Mappings:
Namespace Name Mixin selector official cLbfh;c:Lbfh;intermediary field_43882Lnet/minecraft/class_8332;field_43882:Lnet/minecraft/class_8332;named DESPAWN_NONELnet/minecraft/class_8332;DESPAWN_NONE:Lnet/minecraft/class_8332;
-
-
Field Details
-
field_43883
- Mappings:
Namespace Name Mixin selector official dLbfh;d:Lcom/mojang/serialization/Codec;intermediary field_43883Lnet/minecraft/class_8332;field_43883:Lcom/mojang/serialization/Codec;named field_43883Lnet/minecraft/class_8332;field_43883:Lcom/mojang/serialization/Codec;
-
field_43884
- Mappings:
Namespace Name Mixin selector official eLbfh;e:Ljava/lang/String;intermediary field_43884Lnet/minecraft/class_8332;field_43884:Ljava/lang/String;named field_43884Lnet/minecraft/class_8332;field_43884:Ljava/lang/String;
-
field_43885
- Mappings:
Namespace Name Mixin selector official fLbfh;f:Lsw;intermediary field_43885Lnet/minecraft/class_8332;field_43885:Lnet/minecraft/class_2561;named field_43885Lnet/minecraft/class_8332;field_43885:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
class_8332
-
-
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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official cLapw;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-
method_50380
- Mappings:
Namespace Name Mixin selector official aLbfh;a()Lsw;intermediary method_50380Lnet/minecraft/class_8332;method_50380()Lnet/minecraft/class_2561;named method_50380Lnet/minecraft/class_8332;method_50380()Lnet/minecraft/text/Text;
-