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 gjq$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 Lgjq$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 Lgjq$a;a(Lgjp;Ljava/lang/Object;)Lgjq$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 Lgjq$a;b(Lgjp;Ljava/lang/Object;)Lgjq$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 Lgjq$a;a(Lgjq;)Lgjq$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 Lgjq$a;a()Lgjq;
      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;