Class WorldSession

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

@Environment(CLIENT) public class WorldSession extends Object
Mappings:
Namespace Name
official fzp
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 Lfzp;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 Lfzp;b:Lfzk;
      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 Lfzp;c:Lfzt;
      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 Lfzp;d:Lfzv;
      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 Lfzp;e:Lfzs;
      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 Lfzp;f:Lfzu;
      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, @Nullable @Nullable String minigameName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfzp;<init>(Lfzk;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
      named <init> Lnet/minecraft/client/util/telemetry/WorldSession;<init>(Lnet/minecraft/client/util/telemetry/TelemetrySender;ZLjava/time/Duration;Ljava/lang/String;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official a Lfzp;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 Lfzp;a(Lcmj;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 Lfzp;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 Lfzp;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 Lfzp;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 Lfzp;c()V
      intermediary method_47776 Lnet/minecraft/class_7975;method_47776()V
      named onUnload Lnet/minecraft/client/util/telemetry/WorldSession;onUnload()V
    • onAdvancementMade

      public void onAdvancementMade(World world, Advancement advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lfzp;a(Lcmm;Lae;)V
      intermediary method_51802 Lnet/minecraft/class_7975;method_51802(Lnet/minecraft/class_1937;Lnet/minecraft/class_161;)V
      named onAdvancementMade Lnet/minecraft/client/util/telemetry/WorldSession;onAdvancementMade(Lnet/minecraft/world/World;Lnet/minecraft/advancement/Advancement;)V