Class TelemetryEventType.Builder

java.lang.Object
net.minecraft.client.session.telemetry.TelemetryEventType.Builder
Enclosing class:
TelemetryEventType

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

    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn$a;a:Ljava/lang/String;
      intermediary field_41448 Lnet/minecraft/class_7966$class_7967;field_41448:Ljava/lang/String;
      named id Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;id:Ljava/lang/String;
    • exportKey

      private final String exportKey
      Mappings:
      Namespace Name Mixin selector
      official b Lgjn$a;b:Ljava/lang/String;
      intermediary field_41449 Lnet/minecraft/class_7966$class_7967;field_41449:Ljava/lang/String;
      named exportKey Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;exportKey:Ljava/lang/String;
    • properties

      private final List<TelemetryEventProperty<?>> properties
      Mappings:
      Namespace Name Mixin selector
      official c Lgjn$a;c:Ljava/util/List;
      intermediary field_41450 Lnet/minecraft/class_7966$class_7967;field_41450:Ljava/util/List;
      named properties Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;properties:Ljava/util/List;
    • optional

      private boolean optional
      Mappings:
      Namespace Name Mixin selector
      official d Lgjn$a;d:Z
      intermediary field_41451 Lnet/minecraft/class_7966$class_7967;field_41451:Z
      named optional Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;optional:Z
  • Constructor Details

    • Builder

      Builder(String id, String exportKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgjn$a;<init>(Ljava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7966$class_7967;<init>(Ljava/lang/String;Ljava/lang/String;)V
      named <init> Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;<init>(Ljava/lang/String;Ljava/lang/String;)V
  • Method Details

    • properties

      public TelemetryEventType.Builder properties(List<TelemetryEventProperty<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn$a;a(Ljava/util/List;)Lgjn$a;
      intermediary method_47735 Lnet/minecraft/class_7966$class_7967;method_47735(Ljava/util/List;)Lnet/minecraft/class_7966$class_7967;
      named properties Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;properties(Ljava/util/List;)Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;
    • properties

      public <T> TelemetryEventType.Builder properties(TelemetryEventProperty<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn$a;a(Lgjp;)Lgjn$a;
      intermediary method_47734 Lnet/minecraft/class_7966$class_7967;method_47734(Lnet/minecraft/class_7969;)Lnet/minecraft/class_7966$class_7967;
      named properties Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;properties(Lnet/minecraft/client/session/telemetry/TelemetryEventProperty;)Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;
    • optional

      public TelemetryEventType.Builder optional()
      Mappings:
      Namespace Name Mixin selector
      official a Lgjn$a;a()Lgjn$a;
      intermediary method_47733 Lnet/minecraft/class_7966$class_7967;method_47733()Lnet/minecraft/class_7966$class_7967;
      named optional Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;optional()Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;
    • build

      public TelemetryEventType build()
      Mappings:
      Namespace Name Mixin selector
      official b Lgjn$a;b()Lgjn;
      intermediary method_47736 Lnet/minecraft/class_7966$class_7967;method_47736()Lnet/minecraft/class_7966;
      named build Lnet/minecraft/client/session/telemetry/TelemetryEventType$Builder;build()Lnet/minecraft/client/session/telemetry/TelemetryEventType;