Enum Class TelemetryEventProperty.GameMode
java.lang.Object
java.lang.Enum<TelemetryEventProperty.GameMode>
net.minecraft.client.session.telemetry.TelemetryEventProperty.GameMode
- All Implemented Interfaces:
Serializable,Comparable<TelemetryEventProperty.GameMode>,Constable,StringIdentifiable
- Enclosing class:
TelemetryEventProperty<T>
@Environment(CLIENT)
public static enum TelemetryEventProperty.GameMode
extends Enum<TelemetryEventProperty.GameMode>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/session/telemetry/TelemetryEventProperty$GameModeintermediary net/minecraft/class_7969$class_7971official gvq$b
-
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.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TelemetryEventProperty.GameMode> private final Stringprivate final intFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.intgetRawId()Returns the enum constant of this class with the specified name.static TelemetryEventProperty.GameMode[]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 named SURVIVALLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;SURVIVAL:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;intermediary field_41481Lnet/minecraft/class_7969$class_7971;field_41481:Lnet/minecraft/class_7969$class_7971;official aLgvq$b;a:Lgvq$b;
-
CREATIVE
- Mappings:
Namespace Name Mixin selector named CREATIVELnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;CREATIVE:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;intermediary field_41482Lnet/minecraft/class_7969$class_7971;field_41482:Lnet/minecraft/class_7969$class_7971;official bLgvq$b;b:Lgvq$b;
-
ADVENTURE
- Mappings:
Namespace Name Mixin selector named ADVENTURELnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;ADVENTURE:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;intermediary field_41483Lnet/minecraft/class_7969$class_7971;field_41483:Lnet/minecraft/class_7969$class_7971;official cLgvq$b;c:Lgvq$b;
-
SPECTATOR
- Mappings:
Namespace Name Mixin selector named SPECTATORLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;SPECTATOR:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;intermediary field_41484Lnet/minecraft/class_7969$class_7971;field_41484:Lnet/minecraft/class_7969$class_7971;official dLgvq$b;d:Lgvq$b;
-
HARDCORE
- Mappings:
Namespace Name Mixin selector named HARDCORELnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;HARDCORE:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;intermediary field_41485Lnet/minecraft/class_7969$class_7971;field_41485:Lnet/minecraft/class_7969$class_7971;official eLgvq$b;e:Lgvq$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;CODEC:Lcom/mojang/serialization/Codec;intermediary field_41486Lnet/minecraft/class_7969$class_7971;field_41486:Lcom/mojang/serialization/Codec;official fLgvq$b;f:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;id:Ljava/lang/String;intermediary field_41487Lnet/minecraft/class_7969$class_7971;field_41487:Ljava/lang/String;official gLgvq$b;g:Ljava/lang/String;
-
rawId
private final int rawId- Mappings:
Namespace Name Mixin selector named rawIdLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;rawId:Iintermediary field_41488Lnet/minecraft/class_7969$class_7971;field_41488:Iofficial hLgvq$b;h:I
-
-
Constructor Details
-
GameMode
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_7969$class_7971;<init>(Ljava/lang/String;ILjava/lang/String;I)Vofficial <init>Lgvq$b;<init>(Ljava/lang/String;ILjava/lang/String;I)V
-
-
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
-
getRawId
public int getRawId()- Mappings:
Namespace Name Mixin selector named getRawIdLnet/minecraft/client/session/telemetry/TelemetryEventProperty$GameMode;getRawId()Iintermediary method_47756Lnet/minecraft/class_7969$class_7971;method_47756()Iofficial aLgvq$b;a()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 named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-