Class TelemetryEventType

java.lang.Object
net.minecraft.client.session.telemetry.TelemetryEventType

@Environment(CLIENT) public class TelemetryEventType extends Object
Mappings:
Namespace Name
official gjn
intermediary net/minecraft/class_7966
named net/minecraft/client/session/telemetry/TelemetryEventType
  • Field Details

    • TYPES

      static final Map<String,TelemetryEventType> TYPES
      Mappings:
      Namespace Name Mixin selector
      official h Lgjn;h:Ljava/util/Map;
      intermediary field_41440 Lnet/minecraft/class_7966;field_41440:Ljava/util/Map;
      named TYPES Lnet/minecraft/client/session/telemetry/TelemetryEventType;TYPES:Ljava/util/Map;
    • CODEC

      public static final com.mojang.serialization.Codec<TelemetryEventType> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a:Lcom/mojang/serialization/Codec;
      intermediary field_41435 Lnet/minecraft/class_7966;field_41435:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/client/session/telemetry/TelemetryEventType;CODEC:Lcom/mojang/serialization/Codec;
    • BASIC_PROPERTIES

      private static final List<TelemetryEventProperty<?>> BASIC_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official i Lgjn;i:Ljava/util/List;
      intermediary field_41441 Lnet/minecraft/class_7966;field_41441:Ljava/util/List;
      named BASIC_PROPERTIES Lnet/minecraft/client/session/telemetry/TelemetryEventType;BASIC_PROPERTIES:Ljava/util/List;
    • REQUIRED_PROPERTIES

      private static final List<TelemetryEventProperty<?>> REQUIRED_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official j Lgjn;j:Ljava/util/List;
      intermediary field_41442 Lnet/minecraft/class_7966;field_41442:Ljava/util/List;
      named REQUIRED_PROPERTIES Lnet/minecraft/client/session/telemetry/TelemetryEventType;REQUIRED_PROPERTIES:Ljava/util/List;
    • WORLD_LOADED

      public static final TelemetryEventType WORLD_LOADED
      Mappings:
      Namespace Name Mixin selector
      official b Lgjn;b:Lgjn;
      intermediary field_41436 Lnet/minecraft/class_7966;field_41436:Lnet/minecraft/class_7966;
      named WORLD_LOADED Lnet/minecraft/client/session/telemetry/TelemetryEventType;WORLD_LOADED:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • PERFORMANCE_METRICS

      public static final TelemetryEventType PERFORMANCE_METRICS
      Mappings:
      Namespace Name Mixin selector
      official c Lgjn;c:Lgjn;
      intermediary field_41437 Lnet/minecraft/class_7966;field_41437:Lnet/minecraft/class_7966;
      named PERFORMANCE_METRICS Lnet/minecraft/client/session/telemetry/TelemetryEventType;PERFORMANCE_METRICS:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • WORLD_LOAD_TIMES

      public static final TelemetryEventType WORLD_LOAD_TIMES
      Mappings:
      Namespace Name Mixin selector
      official d Lgjn;d:Lgjn;
      intermediary field_41438 Lnet/minecraft/class_7966;field_41438:Lnet/minecraft/class_7966;
      named WORLD_LOAD_TIMES Lnet/minecraft/client/session/telemetry/TelemetryEventType;WORLD_LOAD_TIMES:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • WORLD_UNLOADED

      public static final TelemetryEventType WORLD_UNLOADED
      Mappings:
      Namespace Name Mixin selector
      official e Lgjn;e:Lgjn;
      intermediary field_41439 Lnet/minecraft/class_7966;field_41439:Lnet/minecraft/class_7966;
      named WORLD_UNLOADED Lnet/minecraft/client/session/telemetry/TelemetryEventType;WORLD_UNLOADED:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • ADVANCEMENT_MADE

      public static final TelemetryEventType ADVANCEMENT_MADE
      Mappings:
      Namespace Name Mixin selector
      official f Lgjn;f:Lgjn;
      intermediary field_44832 Lnet/minecraft/class_7966;field_44832:Lnet/minecraft/class_7966;
      named ADVANCEMENT_MADE Lnet/minecraft/client/session/telemetry/TelemetryEventType;ADVANCEMENT_MADE:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • GAME_LOAD_TIMES

      public static final TelemetryEventType GAME_LOAD_TIMES
      Mappings:
      Namespace Name Mixin selector
      official g Lgjn;g:Lgjn;
      intermediary field_44833 Lnet/minecraft/class_7966;field_44833:Lnet/minecraft/class_7966;
      named GAME_LOAD_TIMES Lnet/minecraft/client/session/telemetry/TelemetryEventType;GAME_LOAD_TIMES:Lnet/minecraft/client/session/telemetry/TelemetryEventType;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official k Lgjn;k:Ljava/lang/String;
      intermediary field_41443 Lnet/minecraft/class_7966;field_41443:Ljava/lang/String;
      named id Lnet/minecraft/client/session/telemetry/TelemetryEventType;id:Ljava/lang/String;
    • exportKey

      private final String exportKey
      Mappings:
      Namespace Name Mixin selector
      official l Lgjn;l:Ljava/lang/String;
      intermediary field_41444 Lnet/minecraft/class_7966;field_41444:Ljava/lang/String;
      named exportKey Lnet/minecraft/client/session/telemetry/TelemetryEventType;exportKey:Ljava/lang/String;
    • properties

      private final List<TelemetryEventProperty<?>> properties
      Mappings:
      Namespace Name Mixin selector
      official m Lgjn;m:Ljava/util/List;
      intermediary field_41445 Lnet/minecraft/class_7966;field_41445:Ljava/util/List;
      named properties Lnet/minecraft/client/session/telemetry/TelemetryEventType;properties:Ljava/util/List;
    • optional

      private final boolean optional
      Mappings:
      Namespace Name Mixin selector
      official n Lgjn;n:Z
      intermediary field_41446 Lnet/minecraft/class_7966;field_41446:Z
      named optional Lnet/minecraft/client/session/telemetry/TelemetryEventType;optional:Z
    • codec

      private final com.mojang.serialization.Codec<SentTelemetryEvent> codec
      Mappings:
      Namespace Name Mixin selector
      official o Lgjn;o:Lcom/mojang/serialization/Codec;
      intermediary field_41447 Lnet/minecraft/class_7966;field_41447:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/client/session/telemetry/TelemetryEventType;codec:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • TelemetryEventType

      TelemetryEventType(String id, String exportKey, List<TelemetryEventProperty<?>> properties, boolean optional)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgjn;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Z)V
      intermediary <init> Lnet/minecraft/class_7966;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Z)V
      named <init> Lnet/minecraft/client/session/telemetry/TelemetryEventType;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Z)V
  • Method Details

    • builder

      public static TelemetryEventType.Builder builder(String id, String sentEventId)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a(Ljava/lang/String;Ljava/lang/String;)Lgjn$a;
      intermediary method_47725 Lnet/minecraft/class_7966;method_47725(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7966$class_7967;
      named builder Lnet/minecraft/client/session/telemetry/TelemetryEventType;builder(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a()Ljava/lang/String;
      intermediary method_47720 Lnet/minecraft/class_7966;method_47720()Ljava/lang/String;
      named getId Lnet/minecraft/client/session/telemetry/TelemetryEventType;getId()Ljava/lang/String;
    • getProperties

      public List<TelemetryEventProperty<?>> getProperties()
      Mappings:
      Namespace Name Mixin selector
      official b Lgjn;b()Ljava/util/List;
      intermediary method_47726 Lnet/minecraft/class_7966;method_47726()Ljava/util/List;
      named getProperties Lnet/minecraft/client/session/telemetry/TelemetryEventType;getProperties()Ljava/util/List;
    • getCodec

      public com.mojang.serialization.Codec<SentTelemetryEvent> getCodec()
      Mappings:
      Namespace Name Mixin selector
      official c Lgjn;c()Lcom/mojang/serialization/Codec;
      intermediary method_47728 Lnet/minecraft/class_7966;method_47728()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/client/session/telemetry/TelemetryEventType;getCodec()Lcom/mojang/serialization/Codec;
    • isOptional

      public boolean isOptional()
      Mappings:
      Namespace Name Mixin selector
      official d Lgjn;d()Z
      intermediary method_47729 Lnet/minecraft/class_7966;method_47729()Z
      named isOptional Lnet/minecraft/client/session/telemetry/TelemetryEventType;isOptional()Z
    • createEvent

      public com.mojang.authlib.minecraft.TelemetryEvent createEvent(com.mojang.authlib.minecraft.TelemetrySession session, PropertyMap properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a(Lcom/mojang/authlib/minecraft/TelemetrySession;Lgjq;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
      intermediary method_47721 Lnet/minecraft/class_7966;method_47721(Lcom/mojang/authlib/minecraft/TelemetrySession;Lnet/minecraft/class_7973;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
      named createEvent Lnet/minecraft/client/session/telemetry/TelemetryEventType;createEvent(Lcom/mojang/authlib/minecraft/TelemetrySession;Lnet/minecraft/client/session/telemetry/PropertyMap;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
    • hasProperty

      public <T> boolean hasProperty(TelemetryEventProperty<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a(Lgjp;)Z
      intermediary method_47722 Lnet/minecraft/class_7966;method_47722(Lnet/minecraft/class_7969;)Z
      named hasProperty Lnet/minecraft/client/session/telemetry/TelemetryEventType;hasProperty(Lnet/minecraft/client/session/telemetry/TelemetryEventProperty;)Z
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTitle

      public MutableText getTitle()
      Mappings:
      Namespace Name Mixin selector
      official e Lgjn;e()Lvt;
      intermediary method_47730 Lnet/minecraft/class_7966;method_47730()Lnet/minecraft/class_5250;
      named getTitle Lnet/minecraft/client/session/telemetry/TelemetryEventType;getTitle()Lnet/minecraft/text/MutableText;
    • getDescription

      public MutableText getDescription()
      Mappings:
      Namespace Name Mixin selector
      official f Lgjn;f()Lvt;
      intermediary method_47731 Lnet/minecraft/class_7966;method_47731()Lnet/minecraft/class_5250;
      named getDescription Lnet/minecraft/client/session/telemetry/TelemetryEventType;getDescription()Lnet/minecraft/text/MutableText;
    • getText

      private MutableText getText(String key)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn;a(Ljava/lang/String;)Lvt;
      intermediary method_47724 Lnet/minecraft/class_7966;method_47724(Ljava/lang/String;)Lnet/minecraft/class_5250;
      named getText Lnet/minecraft/client/session/telemetry/TelemetryEventType;getText(Ljava/lang/String;)Lnet/minecraft/text/MutableText;
    • getTypes

      public static List<TelemetryEventType> getTypes()
      Mappings:
      Namespace Name Mixin selector
      official g Lgjn;g()Ljava/util/List;
      intermediary method_47732 Lnet/minecraft/class_7966;method_47732()Ljava/util/List;
      named getTypes Lnet/minecraft/client/session/telemetry/TelemetryEventType;getTypes()Ljava/util/List;