Record Class TelemetryEventProperty<T>
java.lang.Object
java.lang.Record
net.minecraft.client.util.telemetry.TelemetryEventProperty<T>
- Record Components:
id
-exportKey
-codec
-exporter
-
@Environment(CLIENT)
public record TelemetryEventProperty<T>(String id, String exportKey, com.mojang.serialization.Codec<T> codec, TelemetryEventProperty.PropertyExporter<T> exporter)
extends Record
- Mappings:
Namespace Name official fxu
intermediary net/minecraft/class_7969
named net/minecraft/client/util/telemetry/TelemetryEventProperty
official x
intermediary comp_1171
named id
official y
intermediary comp_1172
named exportKey
official z
intermediary comp_1173
named codec
official A
intermediary comp_1174
named exporter
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static interface
static enum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TelemetryEventProperty<String>
static final TelemetryEventProperty<Boolean>
private final com.mojang.serialization.Codec<T>
The field for thecodec
record component.private static final DateTimeFormatter
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<Instant>
private final TelemetryEventProperty.PropertyExporter<T>
The field for theexporter
record component.private final String
The field for theexportKey
record component.static final TelemetryEventProperty<LongList>
static final TelemetryEventProperty<TelemetryEventProperty.GameMode>
static final TelemetryEventProperty<String>
private final String
The field for theid
record component.static final TelemetryEventProperty<UUID>
static final TelemetryEventProperty<Boolean>
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<String>
static final TelemetryEventProperty<Boolean>
static final TelemetryEventProperty<String>
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<LongList>
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<Boolean>
static final TelemetryEventProperty<TelemetryEventProperty.ServerType>
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<LongList>
static final TelemetryEventProperty<String>
static final TelemetryEventProperty<Integer>
static final TelemetryEventProperty<UUID>
-
Constructor Summary
ConstructorDescriptionTelemetryEventProperty
(String string, String string2, com.mojang.serialization.Codec<T> codec, TelemetryEventProperty.PropertyExporter<T> propertyExporter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTo
(PropertyMap map, com.mojang.authlib.minecraft.TelemetryPropertyContainer container) com.mojang.serialization.Codec<T>
codec()
Returns the value of thecodec
record component.final boolean
Indicates whether some other object is "equal to" this one.exporter()
Returns the value of theexporter
record component.Returns the value of theexportKey
record component.getTitle()
final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.static <T> TelemetryEventProperty<T>
of
(String id, String exportKey, com.mojang.serialization.Codec<T> codec, TelemetryEventProperty.PropertyExporter<T> exporter) static TelemetryEventProperty<Boolean>
static TelemetryEventProperty<Integer>
static TelemetryEventProperty<LongList>
ofLongList
(String id, String exportKey) static TelemetryEventProperty<String>
static TelemetryEventProperty<UUID>
toString()
Returns a string representation of this record class.
-
Field Details
-
id
The field for theid
record component. -
exportKey
The field for theexportKey
record component. -
codec
The field for thecodec
record component. -
exporter
The field for theexporter
record component. -
DATE_TIME_FORMATTER
- Mappings:
Namespace Name Mixin selector official B
Lfxu;B:Ljava/time/format/DateTimeFormatter;
intermediary field_41457
Lnet/minecraft/class_7969;field_41457:Ljava/time/format/DateTimeFormatter;
named DATE_TIME_FORMATTER
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;DATE_TIME_FORMATTER:Ljava/time/format/DateTimeFormatter;
-
USER_ID
- Mappings:
Namespace Name Mixin selector official a
Lfxu;a:Lfxu;
intermediary field_41458
Lnet/minecraft/class_7969;field_41458:Lnet/minecraft/class_7969;
named USER_ID
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;USER_ID:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
CLIENT_ID
- Mappings:
Namespace Name Mixin selector official b
Lfxu;b:Lfxu;
intermediary field_41459
Lnet/minecraft/class_7969;field_41459:Lnet/minecraft/class_7969;
named CLIENT_ID
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;CLIENT_ID:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
MINECRAFT_SESSION_ID
- Mappings:
Namespace Name Mixin selector official c
Lfxu;c:Lfxu;
intermediary field_41460
Lnet/minecraft/class_7969;field_41460:Lnet/minecraft/class_7969;
named MINECRAFT_SESSION_ID
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;MINECRAFT_SESSION_ID:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
GAME_VERSION
- Mappings:
Namespace Name Mixin selector official d
Lfxu;d:Lfxu;
intermediary field_41461
Lnet/minecraft/class_7969;field_41461:Lnet/minecraft/class_7969;
named GAME_VERSION
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;GAME_VERSION:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
OPERATING_SYSTEM
- Mappings:
Namespace Name Mixin selector official e
Lfxu;e:Lfxu;
intermediary field_41462
Lnet/minecraft/class_7969;field_41462:Lnet/minecraft/class_7969;
named OPERATING_SYSTEM
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;OPERATING_SYSTEM:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
PLATFORM
- Mappings:
Namespace Name Mixin selector official f
Lfxu;f:Lfxu;
intermediary field_41463
Lnet/minecraft/class_7969;field_41463:Lnet/minecraft/class_7969;
named PLATFORM
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;PLATFORM:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
CLIENT_MODDED
- Mappings:
Namespace Name Mixin selector official g
Lfxu;g:Lfxu;
intermediary field_41464
Lnet/minecraft/class_7969;field_41464:Lnet/minecraft/class_7969;
named CLIENT_MODDED
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;CLIENT_MODDED:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
WORLD_SESSION_ID
- Mappings:
Namespace Name Mixin selector official h
Lfxu;h:Lfxu;
intermediary field_41465
Lnet/minecraft/class_7969;field_41465:Lnet/minecraft/class_7969;
named WORLD_SESSION_ID
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;WORLD_SESSION_ID:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
SERVER_MODDED
- Mappings:
Namespace Name Mixin selector official i
Lfxu;i:Lfxu;
intermediary field_41466
Lnet/minecraft/class_7969;field_41466:Lnet/minecraft/class_7969;
named SERVER_MODDED
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;SERVER_MODDED:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
SERVER_TYPE
- Mappings:
Namespace Name Mixin selector official j
Lfxu;j:Lfxu;
intermediary field_41467
Lnet/minecraft/class_7969;field_41467:Lnet/minecraft/class_7969;
named SERVER_TYPE
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;SERVER_TYPE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
OPT_IN
- Mappings:
Namespace Name Mixin selector official k
Lfxu;k:Lfxu;
intermediary field_41468
Lnet/minecraft/class_7969;field_41468:Lnet/minecraft/class_7969;
named OPT_IN
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;OPT_IN:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
EVENT_TIMESTAMP_UTC
- Mappings:
Namespace Name Mixin selector official l
Lfxu;l:Lfxu;
intermediary field_41469
Lnet/minecraft/class_7969;field_41469:Lnet/minecraft/class_7969;
named EVENT_TIMESTAMP_UTC
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;EVENT_TIMESTAMP_UTC:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
GAME_MODE
- Mappings:
Namespace Name Mixin selector official m
Lfxu;m:Lfxu;
intermediary field_41470
Lnet/minecraft/class_7969;field_41470:Lnet/minecraft/class_7969;
named GAME_MODE
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;GAME_MODE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
SECONDS_SINCE_LOAD
- Mappings:
Namespace Name Mixin selector official n
Lfxu;n:Lfxu;
intermediary field_41471
Lnet/minecraft/class_7969;field_41471:Lnet/minecraft/class_7969;
named SECONDS_SINCE_LOAD
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;SECONDS_SINCE_LOAD:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
TICKS_SINCE_LOAD
- Mappings:
Namespace Name Mixin selector official o
Lfxu;o:Lfxu;
intermediary field_41472
Lnet/minecraft/class_7969;field_41472:Lnet/minecraft/class_7969;
named TICKS_SINCE_LOAD
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;TICKS_SINCE_LOAD:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
FRAME_RATE_SAMPLES
- Mappings:
Namespace Name Mixin selector official p
Lfxu;p:Lfxu;
intermediary field_41473
Lnet/minecraft/class_7969;field_41473:Lnet/minecraft/class_7969;
named FRAME_RATE_SAMPLES
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;FRAME_RATE_SAMPLES:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
RENDER_TIME_SAMPLES
- Mappings:
Namespace Name Mixin selector official q
Lfxu;q:Lfxu;
intermediary field_41474
Lnet/minecraft/class_7969;field_41474:Lnet/minecraft/class_7969;
named RENDER_TIME_SAMPLES
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;RENDER_TIME_SAMPLES:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
USED_MEMORY_SAMPLES
- Mappings:
Namespace Name Mixin selector official r
Lfxu;r:Lfxu;
intermediary field_41475
Lnet/minecraft/class_7969;field_41475:Lnet/minecraft/class_7969;
named USED_MEMORY_SAMPLES
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;USED_MEMORY_SAMPLES:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
NUMBER_OF_SAMPLES
- Mappings:
Namespace Name Mixin selector official s
Lfxu;s:Lfxu;
intermediary field_41476
Lnet/minecraft/class_7969;field_41476:Lnet/minecraft/class_7969;
named NUMBER_OF_SAMPLES
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;NUMBER_OF_SAMPLES:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
RENDER_DISTANCE
- Mappings:
Namespace Name Mixin selector official t
Lfxu;t:Lfxu;
intermediary field_41477
Lnet/minecraft/class_7969;field_41477:Lnet/minecraft/class_7969;
named RENDER_DISTANCE
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;RENDER_DISTANCE:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
DEDICATED_MEMORY_KB
- Mappings:
Namespace Name Mixin selector official u
Lfxu;u:Lfxu;
intermediary field_41478
Lnet/minecraft/class_7969;field_41478:Lnet/minecraft/class_7969;
named DEDICATED_MEMORY_KB
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;DEDICATED_MEMORY_KB:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
WORLD_LOAD_TIME_MS
- Mappings:
Namespace Name Mixin selector official v
Lfxu;v:Lfxu;
intermediary field_41479
Lnet/minecraft/class_7969;field_41479:Lnet/minecraft/class_7969;
named WORLD_LOAD_TIME_MS
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;WORLD_LOAD_TIME_MS:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
NEW_WORLD
- Mappings:
Namespace Name Mixin selector official w
Lfxu;w:Lfxu;
intermediary field_41480
Lnet/minecraft/class_7969;field_41480:Lnet/minecraft/class_7969;
named NEW_WORLD
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;NEW_WORLD:Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
-
Constructor Details
-
TelemetryEventProperty
public TelemetryEventProperty(String string, String string2, com.mojang.serialization.Codec<T> codec, TelemetryEventProperty.PropertyExporter<T> propertyExporter)
-
-
Method Details
-
of
public static <T> TelemetryEventProperty<T> of(String id, String exportKey, com.mojang.serialization.Codec<T> codec, TelemetryEventProperty.PropertyExporter<T> exporter) - Mappings:
Namespace Name Mixin selector official a
Lfxu;a(Ljava/lang/String;Ljava/lang/String;Lcom/mojang/serialization/Codec;Lfxu$a;)Lfxu;
intermediary method_47751
Lnet/minecraft/class_7969;method_47751(Ljava/lang/String;Ljava/lang/String;Lcom/mojang/serialization/Codec;Lnet/minecraft/class_7969$class_7970;)Lnet/minecraft/class_7969;
named of
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;of(Ljava/lang/String;Ljava/lang/String;Lcom/mojang/serialization/Codec;Lnet/minecraft/client/util/telemetry/TelemetryEventProperty$PropertyExporter;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
ofBoolean
- Mappings:
Namespace Name Mixin selector official a
Lfxu;a(Ljava/lang/String;Ljava/lang/String;)Lfxu;
intermediary method_47750
Lnet/minecraft/class_7969;method_47750(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7969;
named ofBoolean
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;ofBoolean(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
ofString
- Mappings:
Namespace Name Mixin selector official b
Lfxu;b(Ljava/lang/String;Ljava/lang/String;)Lfxu;
intermediary method_47752
Lnet/minecraft/class_7969;method_47752(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7969;
named ofString
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;ofString(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
ofInteger
- Mappings:
Namespace Name Mixin selector official c
Lfxu;c(Ljava/lang/String;Ljava/lang/String;)Lfxu;
intermediary method_47753
Lnet/minecraft/class_7969;method_47753(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7969;
named ofInteger
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;ofInteger(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
ofUuid
- Mappings:
Namespace Name Mixin selector official d
Lfxu;d(Ljava/lang/String;Ljava/lang/String;)Lfxu;
intermediary method_47754
Lnet/minecraft/class_7969;method_47754(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7969;
named ofUuid
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;ofUuid(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
ofLongList
- Mappings:
Namespace Name Mixin selector official e
Lfxu;e(Ljava/lang/String;Ljava/lang/String;)Lfxu;
intermediary method_47755
Lnet/minecraft/class_7969;method_47755(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7969;
named ofLongList
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;ofLongList(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;
-
addTo
public void addTo(PropertyMap map, com.mojang.authlib.minecraft.TelemetryPropertyContainer container) - Mappings:
Namespace Name Mixin selector official a
Lfxu;a(Lfxv;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
intermediary method_47749
Lnet/minecraft/class_7969;method_47749(Lnet/minecraft/class_7973;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
named addTo
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;addTo(Lnet/minecraft/client/util/telemetry/PropertyMap;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
-
getTitle
- Mappings:
Namespace Name Mixin selector official a
Lfxu;a()Ltw;
intermediary method_47743
Lnet/minecraft/class_7969;method_47743()Lnet/minecraft/class_5250;
named getTitle
Lnet/minecraft/client/util/telemetry/TelemetryEventProperty;getTitle()Lnet/minecraft/text/MutableText;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
exportKey
Returns the value of theexportKey
record component.- Returns:
- the value of the
exportKey
record component
-
codec
Returns the value of thecodec
record component.- Returns:
- the value of the
codec
record component
-
exporter
Returns the value of theexporter
record component.- Returns:
- the value of the
exporter
record component
-