Class TelemetrySender
java.lang.Object
net.minecraft.client.util.telemetry.TelemetrySender
- Mappings:
Namespace Name official eel
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
Leel;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
Leel;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
Leel;c:Leev;
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
Leel;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
Leel;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
Leel;f:Leel$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
Leel;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>
Leel;<init>(Leev;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
Leel;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
Leel;a(Lcfx;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
Leel;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
Leel;a(Leel$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
Leel;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
Leel;a()V
intermediary method_38725
Lnet/minecraft/class_6628;method_38725()V
named send
Lnet/minecraft/client/util/telemetry/TelemetrySender;send()V
-