Class TelemetrySender
java.lang.Object
net.minecraft.client.util.telemetry.TelemetrySender
- Mappings:
Namespace Name official dxb
intermediary net/minecraft/class_6628
named net/minecraft/client/util/telemetry/TelemetrySender
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private static final Executor
private static final AtomicInteger
private boolean
private final com.mojang.authlib.minecraft.TelemetrySession
-
Constructor Summary
ConstructorDescriptionTelemetrySender
(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Optional<String> userId, Optional<String> clientId, UUID deviceSessionId) -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addProperty
(String name, Optional<String> propertyValue, com.mojang.authlib.minecraft.TelemetryPropertyContainer container) private String
void
send()
private void
send
(TelemetrySender.PlayerGameMode gameMode) void
setGameModeAndSend
(GameMode gameMode, boolean hardcore) void
setServerBrandAndSend
(String brand)
-
Field Details
-
NEXT_WORKER_ID
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_34948
Lnet/minecraft/class_6628;field_34948:Ljava/util/concurrent/atomic/AtomicInteger;
named NEXT_WORKER_ID
Lnet/minecraft/client/util/telemetry/TelemetrySender;NEXT_WORKER_ID:Ljava/util/concurrent/atomic/AtomicInteger;
-
EXECUTOR
- Mappings:
Namespace Name Mixin selector official b
Ldxb;b:Ljava/util/concurrent/Executor;
intermediary field_34949
Lnet/minecraft/class_6628;field_34949:Ljava/util/concurrent/Executor;
named EXECUTOR
Lnet/minecraft/client/util/telemetry/TelemetrySender;EXECUTOR:Ljava/util/concurrent/Executor;
-
client
- Mappings:
Namespace Name Mixin selector official c
Ldxb;c:Ldxo;
intermediary field_34950
Lnet/minecraft/class_6628;field_34950:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/util/telemetry/TelemetrySender;client:Lnet/minecraft/client/MinecraftClient;
-
session
private final com.mojang.authlib.minecraft.TelemetrySession session- Mappings:
Namespace Name Mixin selector official d
Ldxb;d:Lcom/mojang/authlib/minecraft/TelemetrySession;
intermediary field_34951
Lnet/minecraft/class_6628;field_34951:Lcom/mojang/authlib/minecraft/TelemetrySession;
named session
Lnet/minecraft/client/util/telemetry/TelemetrySender;session:Lcom/mojang/authlib/minecraft/TelemetrySession;
-
sent
private boolean sent- Mappings:
Namespace Name Mixin selector official e
Ldxb;e:Z
intermediary field_34952
Lnet/minecraft/class_6628;field_34952:Z
named sent
Lnet/minecraft/client/util/telemetry/TelemetrySender;sent:Z
-
gameMode
- Mappings:
Namespace Name Mixin selector official f
Ldxb;f:Ldxb$a;
intermediary field_34953
Lnet/minecraft/class_6628;field_34953:Lnet/minecraft/class_6628$class_6629;
named gameMode
Lnet/minecraft/client/util/telemetry/TelemetrySender;gameMode:Lnet/minecraft/client/util/telemetry/TelemetrySender$PlayerGameMode;
-
serverBrand
- Mappings:
Namespace Name Mixin selector official g
Ldxb;g:Ljava/lang/String;
intermediary field_34954
Lnet/minecraft/class_6628;field_34954:Ljava/lang/String;
named serverBrand
Lnet/minecraft/client/util/telemetry/TelemetrySender;serverBrand:Ljava/lang/String;
-
-
Constructor Details
-
TelemetrySender
public TelemetrySender(MinecraftClient client, com.mojang.authlib.minecraft.UserApiService userApiService, Optional<String> userId, Optional<String> clientId, UUID deviceSessionId) - Mappings:
Namespace Name Mixin selector official <init>
Ldxb;<init>(Ldxo;Lcom/mojang/authlib/minecraft/UserApiService;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/UUID;)V
intermediary <init>
Lnet/minecraft/class_6628;<init>(Lnet/minecraft/class_310;Lcom/mojang/authlib/minecraft/UserApiService;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/UUID;)V
named <init>
Lnet/minecraft/client/util/telemetry/TelemetrySender;<init>(Lnet/minecraft/client/MinecraftClient;Lcom/mojang/authlib/minecraft/UserApiService;Ljava/util/Optional;Ljava/util/Optional;Ljava/util/UUID;)V
-
-
Method Details
-
addProperty
private static void addProperty(String name, Optional<String> propertyValue, com.mojang.authlib.minecraft.TelemetryPropertyContainer container) - Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
intermediary method_38733
Lnet/minecraft/class_6628;method_38733(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
named addProperty
Lnet/minecraft/client/util/telemetry/TelemetrySender;addProperty(Ljava/lang/String;Ljava/util/Optional;Lcom/mojang/authlib/minecraft/TelemetryPropertyContainer;)V
-
setGameModeAndSend
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Lcaa;Z)V
intermediary method_38726
Lnet/minecraft/class_6628;method_38726(Lnet/minecraft/class_1934;Z)V
named setGameModeAndSend
Lnet/minecraft/client/util/telemetry/TelemetrySender;setGameModeAndSend(Lnet/minecraft/world/GameMode;Z)V
-
setServerBrandAndSend
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Ljava/lang/String;)V
intermediary method_38732
Lnet/minecraft/class_6628;method_38732(Ljava/lang/String;)V
named setServerBrandAndSend
Lnet/minecraft/client/util/telemetry/TelemetrySender;setServerBrandAndSend(Ljava/lang/String;)V
-
send
- Mappings:
Namespace Name Mixin selector official a
Ldxb;a(Ldxb$a;)V
intermediary method_38730
Lnet/minecraft/class_6628;method_38730(Lnet/minecraft/class_6628$class_6629;)V
named send
Lnet/minecraft/client/util/telemetry/TelemetrySender;send(Lnet/minecraft/client/util/telemetry/TelemetrySender$PlayerGameMode;)V
-
getServerType
- Mappings:
Namespace Name Mixin selector official b
Ldxb;b()Ljava/lang/String;
intermediary method_38734
Lnet/minecraft/class_6628;method_38734()Ljava/lang/String;
named getServerType
Lnet/minecraft/client/util/telemetry/TelemetrySender;getServerType()Ljava/lang/String;
-
send
public void send()- Mappings:
Namespace Name Mixin selector official a
Ldxb;a()V
intermediary method_38725
Lnet/minecraft/class_6628;method_38725()V
named send
Lnet/minecraft/client/util/telemetry/TelemetrySender;send()V
-