Enum Class TelemetryEventProperty.ServerType

java.lang.Object
java.lang.Enum<TelemetryEventProperty.ServerType>
net.minecraft.client.util.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
official ftc$c
intermediary net/minecraft/class_7969$class_7972
named net/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType
  • Enum Constant Details

    • REALM

      public static final TelemetryEventProperty.ServerType REALM
      Mappings:
      Namespace Name Mixin selector
      official a Lftc$c;a:Lftc$c;
      intermediary field_41490 Lnet/minecraft/class_7969$class_7972;field_41490:Lnet/minecraft/class_7969$class_7972;
      named REALM Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;REALM:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;
    • LOCAL

      public static final TelemetryEventProperty.ServerType LOCAL
      Mappings:
      Namespace Name Mixin selector
      official b Lftc$c;b:Lftc$c;
      intermediary field_41491 Lnet/minecraft/class_7969$class_7972;field_41491:Lnet/minecraft/class_7969$class_7972;
      named LOCAL Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;LOCAL:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;
    • OTHER

      public static final TelemetryEventProperty.ServerType OTHER
      Mappings:
      Namespace Name Mixin selector
      official c Lftc$c;c:Lftc$c;
      intermediary field_41492 Lnet/minecraft/class_7969$class_7972;field_41492:Lnet/minecraft/class_7969$class_7972;
      named OTHER Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;OTHER:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official d Lftc$c;d:Lcom/mojang/serialization/Codec;
      intermediary field_41493 Lnet/minecraft/class_7969$class_7972;field_41493:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;CODEC:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official e Lftc$c;e:Ljava/lang/String;
      intermediary field_41494 Lnet/minecraft/class_7969$class_7972;field_41494:Ljava/lang/String;
      named id Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;id:Ljava/lang/String;
  • Constructor Details

    • ServerType

      private ServerType(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lftc$c;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7969$class_7972;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$ServerType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static TelemetryEventProperty.ServerType[] 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

      public static TelemetryEventProperty.ServerType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Laor;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;