Package net.minecraft.client
Class ClientGameSession
java.lang.Object
net.minecraft.client.ClientGameSession
- All Implemented Interfaces:
com.mojang.bridge.game.GameSession
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientGameSession
(ClientWorld p_i51152_1_, ClientPlayerEntity p_i51152_2_, ClientPlayNetHandler p_i51152_3_) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
-
Field Details
-
players
private final int players -
isRemoteServer
private final boolean isRemoteServer -
difficulty
-
gameMode
-
id
-
-
Constructor Details
-
ClientGameSession
public ClientGameSession(ClientWorld p_i51152_1_, ClientPlayerEntity p_i51152_2_, ClientPlayNetHandler p_i51152_3_)
-
-
Method Details
-
getPlayerCount
public int getPlayerCount()- Specified by:
getPlayerCount
in interfacecom.mojang.bridge.game.GameSession
-
isRemoteServer
public boolean isRemoteServer()- Specified by:
isRemoteServer
in interfacecom.mojang.bridge.game.GameSession
-
getDifficulty
- Specified by:
getDifficulty
in interfacecom.mojang.bridge.game.GameSession
-
getGameMode
- Specified by:
getGameMode
in interfacecom.mojang.bridge.game.GameSession
-
getSessionId
- Specified by:
getSessionId
in interfacecom.mojang.bridge.game.GameSession
-