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
named net/minecraft/client/session/telemetry/PropertyMap$Builder
intermediary net/minecraft/class_7973$class_7974
official hgy$a
  • Field Details

    • backingMap

      private final Map<TelemetryEventProperty<?>,Object> backingMap
      Mappings:
      Namespace Name Mixin selector
      named backingMap Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;backingMap:Ljava/util/Map;
      intermediary field_41498 Lnet/minecraft/class_7973$class_7974;field_41498:Ljava/util/Map;
      official a Lhgy$a;a: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
      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;
      intermediary method_47768 Lnet/minecraft/class_7973$class_7974;method_47768(Lnet/minecraft/class_7969;Ljava/lang/Object;)Lnet/minecraft/class_7973$class_7974;
      official a Lhgy$a;a(Lhgx;Ljava/lang/Object;)Lhgy$a;
    • putIfNonNull

      public <T> PropertyMap.Builder putIfNonNull(TelemetryEventProperty<T> property, @Nullable T value)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_51800 Lnet/minecraft/class_7973$class_7974;method_51800(Lnet/minecraft/class_7969;Ljava/lang/Object;)Lnet/minecraft/class_7973$class_7974;
      official b Lhgy$a;b(Lhgx;Ljava/lang/Object;)Lhgy$a;
    • putAll

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

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