Class PropertyMap.Builder

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

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

    • backingMap

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

      public <T> PropertyMap.Builder putIfNonNull(TelemetryEventProperty<T> property, @Nullable T value)
      Mappings:
      Namespace Name Mixin selector
      official b Lfzd$a;b(Lfzc;Ljava/lang/Object;)Lfzd$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/util/telemetry/PropertyMap$Builder;putIfNonNull(Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;Ljava/lang/Object;)Lnet/minecraft/client/util/telemetry/PropertyMap$Builder;
    • putAll

      public PropertyMap.Builder putAll(PropertyMap map)
      Mappings:
      Namespace Name Mixin selector
      official a Lfzd$a;a(Lfzd;)Lfzd$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/util/telemetry/PropertyMap$Builder;putAll(Lnet/minecraft/client/util/telemetry/PropertyMap;)Lnet/minecraft/client/util/telemetry/PropertyMap$Builder;
    • build

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