Class PropertyMap

java.lang.Object
net.minecraft.client.session.telemetry.PropertyMap

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

    • backingMap

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

    • PropertyMap

      PropertyMap(Map<TelemetryEventProperty<?>,Object> backingMap)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgec;<init>(Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_7973;<init>(Ljava/util/Map;)V
      named <init> Lnet/minecraft/client/session/telemetry/PropertyMap;<init>(Ljava/util/Map;)V
  • Method Details

    • builder

      public static PropertyMap.Builder builder()
      Mappings:
      Namespace Name Mixin selector
      official a Lgec;a()Lgec$a;
      intermediary method_47759 Lnet/minecraft/class_7973;method_47759()Lnet/minecraft/class_7973$class_7974;
      named builder Lnet/minecraft/client/session/telemetry/PropertyMap;builder()Lnet/minecraft/client/session/telemetry/PropertyMap$Builder;
    • createCodec

      public static com.mojang.serialization.Codec<PropertyMap> createCodec(List<TelemetryEventProperty<?>> properties)
      Mappings:
      Namespace Name Mixin selector
      official a Lgec;a(Ljava/util/List;)Lcom/mojang/serialization/Codec;
      intermediary method_47761 Lnet/minecraft/class_7973;method_47761(Ljava/util/List;)Lcom/mojang/serialization/Codec;
      named createCodec Lnet/minecraft/client/session/telemetry/PropertyMap;createCodec(Ljava/util/List;)Lcom/mojang/serialization/Codec;
    • get

      @Nullable public <T> T get(TelemetryEventProperty<T> property)
      Mappings:
      Namespace Name Mixin selector
      official a Lgec;a(Lgeb;)Ljava/lang/Object;
      intermediary method_47760 Lnet/minecraft/class_7973;method_47760(Lnet/minecraft/class_7969;)Ljava/lang/Object;
      named get Lnet/minecraft/client/session/telemetry/PropertyMap;get(Lnet/minecraft/client/session/telemetry/TelemetryEventProperty;)Ljava/lang/Object;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • keySet

      public Set<TelemetryEventProperty<?>> keySet()
      Mappings:
      Namespace Name Mixin selector
      official b Lgec;b()Ljava/util/Set;
      intermediary method_47762 Lnet/minecraft/class_7973;method_47762()Ljava/util/Set;
      named keySet Lnet/minecraft/client/session/telemetry/PropertyMap;keySet()Ljava/util/Set;