Class WorldSession

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

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

    • sessionId

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

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

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

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

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

      private final WorldLoadTimesEvent worldLoadTimesEvent
      Mappings:
      Namespace Name Mixin selector
      official f Lged;f:Lgei;
      intermediary field_41504 Lnet/minecraft/class_7975;field_41504:Lnet/minecraft/class_7981;
      named worldLoadTimesEvent Lnet/minecraft/client/session/telemetry/WorldSession;worldLoadTimesEvent:Lnet/minecraft/client/session/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> Lged;<init>(Lgdy;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/session/telemetry/WorldSession;<init>(Lnet/minecraft/client/session/telemetry/TelemetrySender;ZLjava/time/Duration;Ljava/lang/String;)V
  • Method Details

    • tick

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

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

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

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

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

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

      public void onAdvancementMade(World world, AdvancementEntry advancement)
      Mappings:
      Namespace Name Mixin selector
      official a Lged;a(Lcpv;Laf;)V
      intermediary method_51802 Lnet/minecraft/class_7975;method_51802(Lnet/minecraft/class_1937;Lnet/minecraft/class_8779;)V
      named onAdvancementMade Lnet/minecraft/client/session/telemetry/WorldSession;onAdvancementMade(Lnet/minecraft/world/World;Lnet/minecraft/advancement/AdvancementEntry;)V