Package net.minecraft
Enum Class class_7969.class_7971
- All Implemented Interfaces:
Serializable,Comparable<class_7969.class_7971>,Constable,StringIdentifiable
- Enclosing class:
class_7969<T>
@Environment(CLIENT)
public static enum class_7969.class_7971
extends Enum<class_7969.class_7971>
implements StringIdentifiable
- Mappings:
Namespace Name official fsw$bintermediary net/minecraft/class_7969$class_7971named net/minecraft/class_7969$class_7971
-
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_7969.class_7971>private final Stringprivate final intFields 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.intstatic class_7969.class_7971Returns the enum constant of this class with the specified name.static class_7969.class_7971[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SURVIVAL
- Mappings:
Namespace Name Mixin selector official aLfsw$b;a:Lfsw$b;intermediary field_41481Lnet/minecraft/class_7969$class_7971;field_41481:Lnet/minecraft/class_7969$class_7971;named SURVIVALLnet/minecraft/class_7969$class_7971;SURVIVAL:Lnet/minecraft/class_7969$class_7971;
-
CREATIVE
- Mappings:
Namespace Name Mixin selector official bLfsw$b;b:Lfsw$b;intermediary field_41482Lnet/minecraft/class_7969$class_7971;field_41482:Lnet/minecraft/class_7969$class_7971;named CREATIVELnet/minecraft/class_7969$class_7971;CREATIVE:Lnet/minecraft/class_7969$class_7971;
-
ADVENTURE
- Mappings:
Namespace Name Mixin selector official cLfsw$b;c:Lfsw$b;intermediary field_41483Lnet/minecraft/class_7969$class_7971;field_41483:Lnet/minecraft/class_7969$class_7971;named ADVENTURELnet/minecraft/class_7969$class_7971;ADVENTURE:Lnet/minecraft/class_7969$class_7971;
-
SPECTATOR
- Mappings:
Namespace Name Mixin selector official dLfsw$b;d:Lfsw$b;intermediary field_41484Lnet/minecraft/class_7969$class_7971;field_41484:Lnet/minecraft/class_7969$class_7971;named SPECTATORLnet/minecraft/class_7969$class_7971;SPECTATOR:Lnet/minecraft/class_7969$class_7971;
-
HARDCORE
- Mappings:
Namespace Name Mixin selector official eLfsw$b;e:Lfsw$b;intermediary field_41485Lnet/minecraft/class_7969$class_7971;field_41485:Lnet/minecraft/class_7969$class_7971;named HARDCORELnet/minecraft/class_7969$class_7971;HARDCORE:Lnet/minecraft/class_7969$class_7971;
-
-
Field Details
-
field_41486
- Mappings:
Namespace Name Mixin selector official fLfsw$b;f:Lcom/mojang/serialization/Codec;intermediary field_41486Lnet/minecraft/class_7969$class_7971;field_41486:Lcom/mojang/serialization/Codec;named field_41486Lnet/minecraft/class_7969$class_7971;field_41486:Lcom/mojang/serialization/Codec;
-
field_41487
- Mappings:
Namespace Name Mixin selector official gLfsw$b;g:Ljava/lang/String;intermediary field_41487Lnet/minecraft/class_7969$class_7971;field_41487:Ljava/lang/String;named field_41487Lnet/minecraft/class_7969$class_7971;field_41487:Ljava/lang/String;
-
field_41488
private final int field_41488- Mappings:
Namespace Name Mixin selector official hLfsw$b;h:Iintermediary field_41488Lnet/minecraft/class_7969$class_7971;field_41488:Inamed field_41488Lnet/minecraft/class_7969$class_7971;field_41488:I
-
-
Constructor Details
-
class_7971
-
-
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
-
method_47756
public int method_47756()- Mappings:
Namespace Name Mixin selector official aLfsw$b;a()Iintermediary method_47756Lnet/minecraft/class_7969$class_7971;method_47756()Inamed method_47756Lnet/minecraft/class_7969$class_7971;method_47756()I
-
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 cLaor;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-