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 fzn$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 Lfzn$c;a:Lfzn$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 Lfzn$c;b:Lfzn$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 Lfzn$c;c:Lfzn$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 Lfzn$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 Lfzn$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> Lfzn$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 Lapr;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;