Package net.minecraft.client.telemetry
Class TelemetryEventType
java.lang.Object
net.minecraft.client.telemetry.TelemetryEventType
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TelemetryEventType
private final com.mojang.serialization.MapCodec
<TelemetryEventInstance> static final com.mojang.serialization.Codec
<TelemetryEventType> private final String
static final TelemetryEventType
private static final List
<TelemetryProperty<?>> private final String
private final boolean
static final TelemetryEventType
private final List
<TelemetryProperty<?>> (package private) static final Map
<String, TelemetryEventType> static final TelemetryEventType
static final TelemetryEventType
private static final List
<TelemetryProperty<?>> static final TelemetryEventType
-
Constructor Summary
ConstructorDescriptionTelemetryEventType
(String p_261787_, String p_262121_, List<TelemetryProperty<?>> p_261987_, boolean p_261511_) -
Method Summary
Modifier and TypeMethodDescriptionstatic TelemetryEventType.Builder
com.mojang.serialization.MapCodec
<TelemetryEventInstance> codec()
<T> boolean
contains
(TelemetryProperty<T> p_262037_) com.mojang.authlib.minecraft.TelemetryEvent
export
(com.mojang.authlib.minecraft.TelemetrySession p_262179_, TelemetryPropertyMap p_262018_) id()
boolean
isOptIn()
private MutableComponent
makeTranslation
(String p_261909_) title()
toString()
static List
<TelemetryEventType> values()
-
Field Details
-
REGISTRY
-
CODEC
-
GLOBAL_PROPERTIES
-
WORLD_SESSION_PROPERTIES
-
WORLD_LOADED
-
PERFORMANCE_METRICS
-
WORLD_LOAD_TIMES
-
WORLD_UNLOADED
-
ADVANCEMENT_MADE
-
GAME_LOAD_TIMES
-
id
-
exportKey
-
properties
-
isOptIn
private final boolean isOptIn -
codec
-
-
Constructor Details
-
TelemetryEventType
TelemetryEventType(String p_261787_, String p_262121_, List<TelemetryProperty<?>> p_261987_, boolean p_261511_)
-
-
Method Details
-
builder
-
id
-
properties
-
codec
-
isOptIn
public boolean isOptIn() -
export
public com.mojang.authlib.minecraft.TelemetryEvent export(com.mojang.authlib.minecraft.TelemetrySession p_262179_, TelemetryPropertyMap p_262018_) -
contains
-
toString
-
title
-
description
-
makeTranslation
-
values
-