Class MinecraftClientGame

java.lang.Object
net.minecraft.client.MinecraftClientGame
All Implemented Interfaces:
com.mojang.bridge.game.RunningGame

@Environment(CLIENT)
public class MinecraftClientGame
extends Object
implements com.mojang.bridge.game.RunningGame
Mappings:
Namespace Name
official dqd
intermediary net/minecraft/class_3799
named net/minecraft/client/MinecraftClientGame
  • Field Details

    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official a Ldqd;a:Ldqk;
      intermediary field_16757 Lnet/minecraft/class_3799;field_16757:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/MinecraftClientGame;client:Lnet/minecraft/client/MinecraftClient;
    • launcher

      @Nullable private final com.mojang.bridge.launcher.Launcher launcher
      Mappings:
      Namespace Name Mixin selector
      official b Ldqd;b:Lcom/mojang/bridge/launcher/Launcher;
      intermediary field_16755 Lnet/minecraft/class_3799;field_16755:Lcom/mojang/bridge/launcher/Launcher;
      named launcher Lnet/minecraft/client/MinecraftClientGame;launcher:Lcom/mojang/bridge/launcher/Launcher;
    • listener

      private com.mojang.bridge.launcher.SessionEventListener listener
      Mappings:
      Namespace Name Mixin selector
      official c Ldqd;c:Lcom/mojang/bridge/launcher/SessionEventListener;
      intermediary field_16756 Lnet/minecraft/class_3799;field_16756:Lcom/mojang/bridge/launcher/SessionEventListener;
      named listener Lnet/minecraft/client/MinecraftClientGame;listener:Lcom/mojang/bridge/launcher/SessionEventListener;
  • Constructor Details

    • MinecraftClientGame

      public MinecraftClientGame​(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldqd;<init>(Ldqk;)V
      intermediary <init> Lnet/minecraft/class_3799;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/MinecraftClientGame;<init>(Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • getVersion

      public com.mojang.bridge.game.GameVersion getVersion()
      Specified by:
      getVersion in interface com.mojang.bridge.game.RunningGame
      Mappings:
      Namespace Name Mixin selector
      official getVersion Ldqd;getVersion()Lcom/mojang/bridge/game/GameVersion;
      intermediary getVersion Lnet/minecraft/class_3799;getVersion()Lcom/mojang/bridge/game/GameVersion;
      named getVersion Lnet/minecraft/client/MinecraftClientGame;getVersion()Lcom/mojang/bridge/game/GameVersion;
    • getSelectedLanguage

      public com.mojang.bridge.game.Language getSelectedLanguage()
      Specified by:
      getSelectedLanguage in interface com.mojang.bridge.game.RunningGame
      Mappings:
      Namespace Name Mixin selector
      official getSelectedLanguage Ldqd;getSelectedLanguage()Lcom/mojang/bridge/game/Language;
      intermediary getSelectedLanguage Lnet/minecraft/class_3799;getSelectedLanguage()Lcom/mojang/bridge/game/Language;
      named getSelectedLanguage Lnet/minecraft/client/MinecraftClientGame;getSelectedLanguage()Lcom/mojang/bridge/game/Language;
    • getCurrentSession

      @Nullable public com.mojang.bridge.game.GameSession getCurrentSession()
      Specified by:
      getCurrentSession in interface com.mojang.bridge.game.RunningGame
      Mappings:
      Namespace Name Mixin selector
      official getCurrentSession Ldqd;getCurrentSession()Lcom/mojang/bridge/game/GameSession;
      intermediary getCurrentSession Lnet/minecraft/class_3799;getCurrentSession()Lcom/mojang/bridge/game/GameSession;
      named getCurrentSession Lnet/minecraft/client/MinecraftClientGame;getCurrentSession()Lcom/mojang/bridge/game/GameSession;
    • getPerformanceMetrics

      public com.mojang.bridge.game.PerformanceMetrics getPerformanceMetrics()
      Specified by:
      getPerformanceMetrics in interface com.mojang.bridge.game.RunningGame
      Mappings:
      Namespace Name Mixin selector
      official getPerformanceMetrics Ldqd;getPerformanceMetrics()Lcom/mojang/bridge/game/PerformanceMetrics;
      intermediary getPerformanceMetrics Lnet/minecraft/class_3799;getPerformanceMetrics()Lcom/mojang/bridge/game/PerformanceMetrics;
      named getPerformanceMetrics Lnet/minecraft/client/MinecraftClientGame;getPerformanceMetrics()Lcom/mojang/bridge/game/PerformanceMetrics;
    • setSessionEventListener

      public void setSessionEventListener​(com.mojang.bridge.launcher.SessionEventListener listener)
      Specified by:
      setSessionEventListener in interface com.mojang.bridge.game.RunningGame
      Mappings:
      Namespace Name Mixin selector
      official setSessionEventListener Ldqd;setSessionEventListener(Lcom/mojang/bridge/launcher/SessionEventListener;)V
      intermediary setSessionEventListener Lnet/minecraft/class_3799;setSessionEventListener(Lcom/mojang/bridge/launcher/SessionEventListener;)V
      named setSessionEventListener Lnet/minecraft/client/MinecraftClientGame;setSessionEventListener(Lcom/mojang/bridge/launcher/SessionEventListener;)V
    • onStartGameSession

      public void onStartGameSession()
      Mappings:
      Namespace Name Mixin selector
      official a Ldqd;a()V
      intermediary method_16687 Lnet/minecraft/class_3799;method_16687()V
      named onStartGameSession Lnet/minecraft/client/MinecraftClientGame;onStartGameSession()V
    • onLeaveGameSession

      public void onLeaveGameSession()
      Mappings:
      Namespace Name Mixin selector
      official b Ldqd;b()V
      intermediary method_16688 Lnet/minecraft/class_3799;method_16688()V
      named onLeaveGameSession Lnet/minecraft/client/MinecraftClientGame;onLeaveGameSession()V