Package net.minecraft.client
Class ClientGameSession
- java.lang.Object
-
- net.minecraft.client.ClientGameSession
-
- All Implemented Interfaces:
com.mojang.bridge.game.GameSession
public class ClientGameSession extends java.lang.Object implements com.mojang.bridge.game.GameSession
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdifficultyprivate java.lang.StringgameModeprivate java.util.UUIDidprivate booleanisRemoteServerprivate intplayers
-
Constructor Summary
Constructors Constructor Description ClientGameSession(ClientWorld p_i51152_1_, ClientPlayerEntity p_i51152_2_, ClientPlayNetHandler p_i51152_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDifficulty()java.lang.StringgetGameMode()intgetPlayerCount()java.util.UUIDgetSessionId()booleanisRemoteServer()
-
-
-
Constructor Detail
-
ClientGameSession
public ClientGameSession(ClientWorld p_i51152_1_, ClientPlayerEntity p_i51152_2_, ClientPlayNetHandler p_i51152_3_)
-
-
Method Detail
-
getPlayerCount
public int getPlayerCount()
- Specified by:
getPlayerCountin interfacecom.mojang.bridge.game.GameSession
-
isRemoteServer
public boolean isRemoteServer()
- Specified by:
isRemoteServerin interfacecom.mojang.bridge.game.GameSession
-
getDifficulty
public java.lang.String getDifficulty()
- Specified by:
getDifficultyin interfacecom.mojang.bridge.game.GameSession
-
getGameMode
public java.lang.String getGameMode()
- Specified by:
getGameModein interfacecom.mojang.bridge.game.GameSession
-
getSessionId
public java.util.UUID getSessionId()
- Specified by:
getSessionIdin interfacecom.mojang.bridge.game.GameSession
-
-