Class WorldSession

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

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

    • sessionId

      private final UUID sessionId
      Mappings:
      Namespace Name Mixin selector
      official a Lfte;a:Ljava/util/UUID;
      intermediary field_41499 Lnet/minecraft/class_7975;field_41499:Ljava/util/UUID;
      named sessionId Lnet/minecraft/client/util/telemetry/WorldSession;sessionId:Ljava/util/UUID;
    • sender

      private final TelemetrySender sender
      Mappings:
      Namespace Name Mixin selector
      official b Lfte;b:Lfsz;
      intermediary field_41500 Lnet/minecraft/class_7975;field_41500:Lnet/minecraft/class_7965;
      named sender Lnet/minecraft/client/util/telemetry/WorldSession;sender:Lnet/minecraft/client/util/telemetry/TelemetrySender;
    • worldLoadedEvent

      private final WorldLoadedEvent worldLoadedEvent
      Mappings:
      Namespace Name Mixin selector
      official c Lfte;c:Lfth;
      intermediary field_41501 Lnet/minecraft/class_7975;field_41501:Lnet/minecraft/class_7979;
      named worldLoadedEvent Lnet/minecraft/client/util/telemetry/WorldSession;worldLoadedEvent:Lnet/minecraft/client/util/telemetry/WorldLoadedEvent;
    • worldUnloadedEvent

      private final WorldUnloadedEvent worldUnloadedEvent
      Mappings:
      Namespace Name Mixin selector
      official d Lfte;d:Lftj;
      intermediary field_41502 Lnet/minecraft/class_7975;field_41502:Lnet/minecraft/class_7982;
      named worldUnloadedEvent Lnet/minecraft/client/util/telemetry/WorldSession;worldUnloadedEvent:Lnet/minecraft/client/util/telemetry/WorldUnloadedEvent;
    • performanceMetricsEvent

      private final PerformanceMetricsEvent performanceMetricsEvent
      Mappings:
      Namespace Name Mixin selector
      official e Lfte;e:Lftg;
      intermediary field_41503 Lnet/minecraft/class_7975;field_41503:Lnet/minecraft/class_7977;
      named performanceMetricsEvent Lnet/minecraft/client/util/telemetry/WorldSession;performanceMetricsEvent:Lnet/minecraft/client/util/telemetry/PerformanceMetricsEvent;
    • worldLoadTimesEvent

      private final WorldLoadTimesEvent worldLoadTimesEvent
      Mappings:
      Namespace Name Mixin selector
      official f Lfte;f:Lfti;
      intermediary field_41504 Lnet/minecraft/class_7975;field_41504:Lnet/minecraft/class_7981;
      named worldLoadTimesEvent Lnet/minecraft/client/util/telemetry/WorldSession;worldLoadTimesEvent:Lnet/minecraft/client/util/telemetry/WorldLoadTimesEvent;
  • Constructor Details

    • WorldSession

      public WorldSession(TelemetrySender sender, boolean newWorld, @Nullable @Nullable Duration worldLoadTime)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfte;<init>(Lfsz;ZLjava/time/Duration;)V
      intermediary <init> Lnet/minecraft/class_7975;<init>(Lnet/minecraft/class_7965;ZLjava/time/Duration;)V
      named <init> Lnet/minecraft/client/util/telemetry/WorldSession;<init>(Lnet/minecraft/client/util/telemetry/TelemetrySender;ZLjava/time/Duration;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lfte;a()V
      intermediary method_47770 Lnet/minecraft/class_7975;method_47770()V
      named tick Lnet/minecraft/client/util/telemetry/WorldSession;tick()V
    • setGameMode

      public void setGameMode(GameMode gameMode, boolean hardcore)
      Mappings:
      Namespace Name Mixin selector
      official a Lfte;a(Lcjt;Z)V
      intermediary method_47772 Lnet/minecraft/class_7975;method_47772(Lnet/minecraft/class_1934;Z)V
      named setGameMode Lnet/minecraft/client/util/telemetry/WorldSession;setGameMode(Lnet/minecraft/world/GameMode;Z)V
    • setBrand

      public void setBrand(String brand)
      Mappings:
      Namespace Name Mixin selector
      official a Lfte;a(Ljava/lang/String;)V
      intermediary method_47774 Lnet/minecraft/class_7975;method_47774(Ljava/lang/String;)V
      named setBrand Lnet/minecraft/client/util/telemetry/WorldSession;setBrand(Ljava/lang/String;)V
    • setTick

      public void setTick(long tick)
      Mappings:
      Namespace Name Mixin selector
      official a Lfte;a(J)V
      intermediary method_47771 Lnet/minecraft/class_7975;method_47771(J)V
      named setTick Lnet/minecraft/client/util/telemetry/WorldSession;setTick(J)V
    • onLoad

      public void onLoad()
      Mappings:
      Namespace Name Mixin selector
      official b Lfte;b()V
      intermediary method_47775 Lnet/minecraft/class_7975;method_47775()V
      named onLoad Lnet/minecraft/client/util/telemetry/WorldSession;onLoad()V
    • onUnload

      public void onUnload()
      Mappings:
      Namespace Name Mixin selector
      official c Lfte;c()V
      intermediary method_47776 Lnet/minecraft/class_7975;method_47776()V
      named onUnload Lnet/minecraft/client/util/telemetry/WorldSession;onUnload()V