Package net.minecraft.client
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
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
MinecraftClientGame.PerformanceMetricsImpl
-
Field Summary
Fields Modifier and Type Field Description private MinecraftClient
client
private com.mojang.bridge.launcher.Launcher
launcher
private com.mojang.bridge.launcher.SessionEventListener
listener
-
Constructor Summary
Constructors Constructor Description MinecraftClientGame(MinecraftClient client)
-
Method Summary
Modifier and Type Method Description com.mojang.bridge.game.GameSession
getCurrentSession()
com.mojang.bridge.game.PerformanceMetrics
getPerformanceMetrics()
com.mojang.bridge.game.Language
getSelectedLanguage()
com.mojang.bridge.game.GameVersion
getVersion()
void
onLeaveGameSession()
void
onStartGameSession()
void
setSessionEventListener(com.mojang.bridge.launcher.SessionEventListener listener)
-
Field Details
-
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
- 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
- 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 interfacecom.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 interfacecom.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
- Specified by:
getCurrentSession
in interfacecom.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 interfacecom.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 interfacecom.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
-