Class TelemetryEventType

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

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

    • TYPES

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

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

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

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

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

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

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

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

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

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

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

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

      private final com.mojang.serialization.Codec<SentTelemetryEvent> codec
      Mappings:
      Namespace Name Mixin selector
      official m Lfxs;m:Lcom/mojang/serialization/Codec;
      intermediary field_41447 Lnet/minecraft/class_7966;field_41447:Lcom/mojang/serialization/Codec;
      named codec Lnet/minecraft/client/util/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> Lfxs;<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/util/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 Lfxs;a(Ljava/lang/String;Ljava/lang/String;)Lfxs$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/util/telemetry/TelemetryEventType;builder(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventType$Builder;
    • getId

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

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

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

      public boolean isOptional()
      Mappings:
      Namespace Name Mixin selector
      official d Lfxs;d()Z
      intermediary method_47729 Lnet/minecraft/class_7966;method_47729()Z
      named isOptional Lnet/minecraft/client/util/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 Lfxs;a(Lcom/mojang/authlib/minecraft/TelemetrySession;Lfxv;)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/util/telemetry/TelemetryEventType;createEvent(Lcom/mojang/authlib/minecraft/TelemetrySession;Lnet/minecraft/client/util/telemetry/PropertyMap;)Lcom/mojang/authlib/minecraft/TelemetryEvent;
    • hasProperty

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

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

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

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

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

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