Enum Class TelemetryEventProperty.GameMode

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

    • SURVIVAL

      public static final TelemetryEventProperty.GameMode SURVIVAL
      Mappings:
      Namespace Name Mixin selector
      official a Lftc$b;a:Lftc$b;
      intermediary field_41481 Lnet/minecraft/class_7969$class_7971;field_41481:Lnet/minecraft/class_7969$class_7971;
      named SURVIVAL Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;SURVIVAL:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
    • CREATIVE

      public static final TelemetryEventProperty.GameMode CREATIVE
      Mappings:
      Namespace Name Mixin selector
      official b Lftc$b;b:Lftc$b;
      intermediary field_41482 Lnet/minecraft/class_7969$class_7971;field_41482:Lnet/minecraft/class_7969$class_7971;
      named CREATIVE Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;CREATIVE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
    • ADVENTURE

      public static final TelemetryEventProperty.GameMode ADVENTURE
      Mappings:
      Namespace Name Mixin selector
      official c Lftc$b;c:Lftc$b;
      intermediary field_41483 Lnet/minecraft/class_7969$class_7971;field_41483:Lnet/minecraft/class_7969$class_7971;
      named ADVENTURE Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;ADVENTURE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
    • SPECTATOR

      public static final TelemetryEventProperty.GameMode SPECTATOR
      Mappings:
      Namespace Name Mixin selector
      official d Lftc$b;d:Lftc$b;
      intermediary field_41484 Lnet/minecraft/class_7969$class_7971;field_41484:Lnet/minecraft/class_7969$class_7971;
      named SPECTATOR Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;SPECTATOR:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
    • HARDCORE

      public static final TelemetryEventProperty.GameMode HARDCORE
      Mappings:
      Namespace Name Mixin selector
      official e Lftc$b;e:Lftc$b;
      intermediary field_41485 Lnet/minecraft/class_7969$class_7971;field_41485:Lnet/minecraft/class_7969$class_7971;
      named HARDCORE Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;HARDCORE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      official f Lftc$b;f:Lcom/mojang/serialization/Codec;
      intermediary field_41486 Lnet/minecraft/class_7969$class_7971;field_41486:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;CODEC:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official g Lftc$b;g:Ljava/lang/String;
      intermediary field_41487 Lnet/minecraft/class_7969$class_7971;field_41487:Ljava/lang/String;
      named id Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;id:Ljava/lang/String;
    • rawId

      private final int rawId
      Mappings:
      Namespace Name Mixin selector
      official h Lftc$b;h:I
      intermediary field_41488 Lnet/minecraft/class_7969$class_7971;field_41488:I
      named rawId Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;rawId:I
  • Constructor Details

    • GameMode

      private GameMode(String id, int rawId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lftc$b;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      intermediary <init> Lnet/minecraft/class_7969$class_7971;<init>(Ljava/lang/String;ILjava/lang/String;I)V
      named <init> Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;<init>(Ljava/lang/String;ILjava/lang/String;I)V
  • Method Details

    • values

      public static TelemetryEventProperty.GameMode[] 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.GameMode 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
    • getRawId

      public int getRawId()
      Mappings:
      Namespace Name Mixin selector
      official a Lftc$b;a()I
      intermediary method_47756 Lnet/minecraft/class_7969$class_7971;method_47756()I
      named getRawId Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$GameMode;getRawId()I
    • 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;