public class ClientGameSession
extends java.lang.Object
implements com.mojang.bridge.game.GameSession
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
difficulty |
private java.lang.String |
gameMode |
private int |
playerCount |
private boolean |
remoteServer |
private java.util.UUID |
sessionId |
Constructor and Description |
---|
ClientGameSession(ClientWorld p_i51152_1_,
ClientPlayerEntity p_i51152_2_,
ClientPlayNetHandler p_i51152_3_) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDifficulty() |
java.lang.String |
getGameMode() |
int |
getPlayerCount() |
java.util.UUID |
getSessionId() |
boolean |
isRemoteServer() |
private final int playerCount
private final boolean remoteServer
private final java.lang.String difficulty
private final java.lang.String gameMode
private final java.util.UUID sessionId
public ClientGameSession(ClientWorld p_i51152_1_, ClientPlayerEntity p_i51152_2_, ClientPlayNetHandler p_i51152_3_)
public int getPlayerCount()
getPlayerCount
in interface com.mojang.bridge.game.GameSession
public boolean isRemoteServer()
isRemoteServer
in interface com.mojang.bridge.game.GameSession
public java.lang.String getDifficulty()
getDifficulty
in interface com.mojang.bridge.game.GameSession
public java.lang.String getGameMode()
getGameMode
in interface com.mojang.bridge.game.GameSession
public java.util.UUID getSessionId()
getSessionId
in interface com.mojang.bridge.game.GameSession