Package net.minecraft.client
Class MinecraftGame
java.lang.Object
net.minecraft.client.MinecraftGame
- All Implemented Interfaces:
com.mojang.bridge.game.RunningGame
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.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 p_setSessionEventListener_1_)
-
Field Details
-
minecraft
-
launcher
@Nullable private final com.mojang.bridge.launcher.Launcher launcher -
listener
private com.mojang.bridge.launcher.SessionEventListener listener
-
-
Constructor Details
-
MinecraftGame
-
-
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
@Nullable public com.mojang.bridge.game.GameSession 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 p_setSessionEventListener_1_) - Specified by:
setSessionEventListener
in interfacecom.mojang.bridge.game.RunningGame
-
onStartGameSession
public void onStartGameSession() -
onLeaveGameSession
public void onLeaveGameSession()
-