Enum Class TelemetryEventProperty.ServerType
java.lang.Object
java.lang.Enum<TelemetryEventProperty.ServerType>
net.minecraft.client.session.telemetry.TelemetryEventProperty.ServerType
- All Implemented Interfaces:
Serializable,Comparable<TelemetryEventProperty.ServerType>,Constable,StringIdentifiable
- Enclosing class:
TelemetryEventProperty<T>
@Environment(CLIENT)
public static enum TelemetryEventProperty.ServerType
extends Enum<TelemetryEventProperty.ServerType>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/session/telemetry/TelemetryEventProperty$ServerTypeintermediary net/minecraft/class_7969$class_7972official hkh$c
-
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.ServerType> private final StringFields 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.Returns the enum constant of this class with the specified name.static TelemetryEventProperty.ServerType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REALM
- Mappings:
Namespace Name Mixin selector named REALMLnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;REALM:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;intermediary field_41490Lnet/minecraft/class_7969$class_7972;field_41490:Lnet/minecraft/class_7969$class_7972;official aLhkh$c;a:Lhkh$c;
-
LOCAL
- Mappings:
Namespace Name Mixin selector named LOCALLnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;LOCAL:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;intermediary field_41491Lnet/minecraft/class_7969$class_7972;field_41491:Lnet/minecraft/class_7969$class_7972;official bLhkh$c;b:Lhkh$c;
-
OTHER
- Mappings:
Namespace Name Mixin selector named OTHERLnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;OTHER:Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;intermediary field_41492Lnet/minecraft/class_7969$class_7972;field_41492:Lnet/minecraft/class_7969$class_7972;official cLhkh$c;c:Lhkh$c;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;CODEC:Lcom/mojang/serialization/Codec;intermediary field_41493Lnet/minecraft/class_7969$class_7972;field_41493:Lcom/mojang/serialization/Codec;official dLhkh$c;d:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;id:Ljava/lang/String;intermediary field_41494Lnet/minecraft/class_7969$class_7972;field_41494:Ljava/lang/String;official eLhkh$c;e:Ljava/lang/String;
-
-
Constructor Details
-
ServerType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/session/telemetry/TelemetryEventProperty$ServerType;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7969$class_7972;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lhkh$c;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
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 cLazv;c()Ljava/lang/String;
-