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 eeo
intermediary net/minecraft/class_3799
named net/minecraft/client/MinecraftClientGame
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftClient
private final @Nullable com.mojang.bridge.launcher.Launcher
private com.mojang.bridge.launcher.SessionEventListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable com.mojang.bridge.game.GameSession
com.mojang.bridge.game.PerformanceMetrics
com.mojang.bridge.game.Language
com.mojang.bridge.game.GameVersion
void
void
void
setSessionEventListener
(com.mojang.bridge.launcher.SessionEventListener listener)
-
Field Details
-
client
- Mappings:
Namespace Name Mixin selector official a
Leeo;a:Leeu;
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
Leeo;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
Leeo;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>
Leeo;<init>(Leeu;)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
-
getSelectedLanguage
public com.mojang.bridge.game.Language getSelectedLanguage()- Specified by:
getSelectedLanguage
in interfacecom.mojang.bridge.game.RunningGame
-
getCurrentSession
- Specified by:
getCurrentSession
in interfacecom.mojang.bridge.game.RunningGame
-
getPerformanceMetrics
public com.mojang.bridge.game.PerformanceMetrics getPerformanceMetrics()- Specified by:
getPerformanceMetrics
in interfacecom.mojang.bridge.game.RunningGame
-
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
Leeo;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
Leeo;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
Leeo;b()V
intermediary method_16688
Lnet/minecraft/class_3799;method_16688()V
named onLeaveGameSession
Lnet/minecraft/client/MinecraftClientGame;onLeaveGameSession()V
-