Class PropertyMap.Builder

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

@Environment(CLIENT) public static class PropertyMap.Builder extends Object
Mappings:
Namespace Name
official gec$a
intermediary net/minecraft/class_7973$class_7974
named net/minecraft/client/session/telemetry/PropertyMap$Builder
  • Field Details

    • backingMap

      private final Map<TelemetryEventProperty<?>,Object> backingMap
      Mappings:
      Namespace Name Mixin selector
      official a Lgec$a;a:Ljava/util/Map;
      intermediary field_41498 Lnet/minecraft/class_7973$class_7974;field_41498:Ljava/util/Map;
      named backingMap Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;backingMap:Ljava/util/Map;
  • Constructor Details

    • Builder

      Builder()
  • Method Details

    • put

      public <T> PropertyMap.Builder put(TelemetryEventProperty<T> property, T value)
      Mappings:
      Namespace Name Mixin selector
      official a Lgec$a;a(Lgeb;Ljava/lang/Object;)Lgec$a;
      intermediary method_47768 Lnet/minecraft/class_7973$class_7974;method_47768(Lnet/minecraft/class_7969;Ljava/lang/Object;)Lnet/minecraft/class_7973$class_7974;
      named put Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;put(Lnet/minecraft/client/session/telemetry/TelemetryEventProperty;Ljava/lang/Object;)Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;
    • putIfNonNull

      public <T> PropertyMap.Builder putIfNonNull(TelemetryEventProperty<T> property, @Nullable T value)
      Mappings:
      Namespace Name Mixin selector
      official b Lgec$a;b(Lgeb;Ljava/lang/Object;)Lgec$a;
      intermediary method_51800 Lnet/minecraft/class_7973$class_7974;method_51800(Lnet/minecraft/class_7969;Ljava/lang/Object;)Lnet/minecraft/class_7973$class_7974;
      named putIfNonNull Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;putIfNonNull(Lnet/minecraft/client/session/telemetry/TelemetryEventProperty;Ljava/lang/Object;)Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;
    • putAll

      public PropertyMap.Builder putAll(PropertyMap map)
      Mappings:
      Namespace Name Mixin selector
      official a Lgec$a;a(Lgec;)Lgec$a;
      intermediary method_47769 Lnet/minecraft/class_7973$class_7974;method_47769(Lnet/minecraft/class_7973;)Lnet/minecraft/class_7973$class_7974;
      named putAll Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;putAll(Lnet/minecraft/client/session/telemetry/PropertyMap;)Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;
    • build

      public PropertyMap build()
      Mappings:
      Namespace Name Mixin selector
      official a Lgec$a;a()Lgec;
      intermediary method_47767 Lnet/minecraft/class_7973$class_7974;method_47767()Lnet/minecraft/class_7973;
      named build Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;build()Lnet/minecraft/client/session/telemetry/PropertyMap;