Class WorldSession

java.lang.Object
net.minecraft.client.session.telemetry.WorldSession

@Environment(CLIENT) public class WorldSession extends Object
Mappings:
Namespace Name
named net/minecraft/client/session/telemetry/WorldSession
intermediary net/minecraft/class_7975
official guw
  • Field Details

    • sessionId

      private final UUID 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 Lguw;a:Ljava/util/UUID;
    • sender

      private final TelemetrySender 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 Lguw;b:Lgur;
    • worldLoadedEvent

      private final WorldLoadedEvent 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 Lguw;c:Lgva;
    • worldUnloadedEvent

      private final WorldUnloadedEvent 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 Lguw;d:Lgvc;
    • performanceMetricsEvent

      private final PerformanceMetricsEvent 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 Lguw;e:Lguz;
    • worldLoadTimesEvent

      private final WorldLoadTimesEvent 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 Lguw;f:Lgvb;
  • 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> Lguw;<init>(Lgur;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 Lguw;a()V
    • setGameMode

      public void setGameMode(GameMode gameMode, boolean hardcore)
      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 Lguw;a(Ldcd;Z)V
    • setBrand

      public void setBrand(String brand)
      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 Lguw;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 Lguw;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 Lguw;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 Lguw;c()V
    • onAdvancementMade

      public void onAdvancementMade(World world, AdvancementEntry advancement)
      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 Lguw;a(Ldcg;Laf;)V