Class WorldSession
java.lang.Object
net.minecraft.client.session.telemetry.WorldSession
- Mappings:
Namespace Name named net/minecraft/client/session/telemetry/WorldSession
intermediary net/minecraft/class_7975
official guj
-
Field Summary
Modifier and TypeFieldDescriptionprivate final PerformanceMetricsEvent
private final TelemetrySender
private final UUID
private final WorldLoadedEvent
private final WorldLoadTimesEvent
private final WorldUnloadedEvent
-
Constructor Summary
ConstructorDescriptionWorldSession
(TelemetrySender sender, boolean newWorld, @Nullable Duration worldLoadTime, @Nullable String minigameName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdvancementMade
(World world, AdvancementEntry advancement) void
onLoad()
void
onUnload()
void
void
setGameMode
(GameMode gameMode, boolean hardcore) void
setTick
(long tick) void
tick()
-
Field Details
-
sessionId
- Mappings:
Namespace Name Mixin selector named sessionId
Lnet/minecraft/client/session/telemetry/WorldSession;sessionId:Ljava/util/UUID;
intermediary field_41499
Lnet/minecraft/class_7975;field_41499:Ljava/util/UUID;
official a
Lguj;a:Ljava/util/UUID;
-
sender
- Mappings:
Namespace Name Mixin selector named sender
Lnet/minecraft/client/session/telemetry/WorldSession;sender:Lnet/minecraft/client/session/telemetry/TelemetrySender;
intermediary field_41500
Lnet/minecraft/class_7975;field_41500:Lnet/minecraft/class_7965;
official b
Lguj;b:Lgue;
-
worldLoadedEvent
- Mappings:
Namespace Name Mixin selector named worldLoadedEvent
Lnet/minecraft/client/session/telemetry/WorldSession;worldLoadedEvent:Lnet/minecraft/client/session/telemetry/WorldLoadedEvent;
intermediary field_41501
Lnet/minecraft/class_7975;field_41501:Lnet/minecraft/class_7979;
official c
Lguj;c:Lgun;
-
worldUnloadedEvent
- Mappings:
Namespace Name Mixin selector named worldUnloadedEvent
Lnet/minecraft/client/session/telemetry/WorldSession;worldUnloadedEvent:Lnet/minecraft/client/session/telemetry/WorldUnloadedEvent;
intermediary field_41502
Lnet/minecraft/class_7975;field_41502:Lnet/minecraft/class_7982;
official d
Lguj;d:Lgup;
-
performanceMetricsEvent
- Mappings:
Namespace Name Mixin selector named performanceMetricsEvent
Lnet/minecraft/client/session/telemetry/WorldSession;performanceMetricsEvent:Lnet/minecraft/client/session/telemetry/PerformanceMetricsEvent;
intermediary field_41503
Lnet/minecraft/class_7975;field_41503:Lnet/minecraft/class_7977;
official e
Lguj;e:Lgum;
-
worldLoadTimesEvent
- Mappings:
Namespace Name Mixin selector named worldLoadTimesEvent
Lnet/minecraft/client/session/telemetry/WorldSession;worldLoadTimesEvent:Lnet/minecraft/client/session/telemetry/WorldLoadTimesEvent;
intermediary field_41504
Lnet/minecraft/class_7975;field_41504:Lnet/minecraft/class_7981;
official f
Lguj;f:Lguo;
-
-
Constructor Details
-
WorldSession
public WorldSession(TelemetrySender sender, boolean newWorld, @Nullable @Nullable Duration worldLoadTime, @Nullable @Nullable String minigameName) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/session/telemetry/WorldSession;<init>(Lnet/minecraft/client/session/telemetry/TelemetrySender;ZLjava/time/Duration;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_7975;<init>(Lnet/minecraft/class_7965;ZLjava/time/Duration;Ljava/lang/String;)V
official <init>
Lguj;<init>(Lgue;ZLjava/time/Duration;Ljava/lang/String;)V
-
-
Method Details
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/client/session/telemetry/WorldSession;tick()V
intermediary method_47770
Lnet/minecraft/class_7975;method_47770()V
official a
Lguj;a()V
-
setGameMode
- Mappings:
Namespace Name Mixin selector named setGameMode
Lnet/minecraft/client/session/telemetry/WorldSession;setGameMode(Lnet/minecraft/world/GameMode;Z)V
intermediary method_47772
Lnet/minecraft/class_7975;method_47772(Lnet/minecraft/class_1934;Z)V
official a
Lguj;a(Ldbw;Z)V
-
setBrand
- Mappings:
Namespace Name Mixin selector named setBrand
Lnet/minecraft/client/session/telemetry/WorldSession;setBrand(Ljava/lang/String;)V
intermediary method_47774
Lnet/minecraft/class_7975;method_47774(Ljava/lang/String;)V
official a
Lguj;a(Ljava/lang/String;)V
-
setTick
public void setTick(long tick) - Mappings:
Namespace Name Mixin selector named setTick
Lnet/minecraft/client/session/telemetry/WorldSession;setTick(J)V
intermediary method_47771
Lnet/minecraft/class_7975;method_47771(J)V
official a
Lguj;a(J)V
-
onLoad
public void onLoad()- Mappings:
Namespace Name Mixin selector named onLoad
Lnet/minecraft/client/session/telemetry/WorldSession;onLoad()V
intermediary method_47775
Lnet/minecraft/class_7975;method_47775()V
official b
Lguj;b()V
-
onUnload
public void onUnload()- Mappings:
Namespace Name Mixin selector named onUnload
Lnet/minecraft/client/session/telemetry/WorldSession;onUnload()V
intermediary method_47776
Lnet/minecraft/class_7975;method_47776()V
official c
Lguj;c()V
-
onAdvancementMade
- Mappings:
Namespace Name Mixin selector named onAdvancementMade
Lnet/minecraft/client/session/telemetry/WorldSession;onAdvancementMade(Lnet/minecraft/world/World;Lnet/minecraft/advancement/AdvancementEntry;)V
intermediary method_51802
Lnet/minecraft/class_7975;method_51802(Lnet/minecraft/class_1937;Lnet/minecraft/class_8779;)V
official a
Lguj;a(Ldbz;Laf;)V
-