Package net.minecraft.client
Class Session
java.lang.Object
net.minecraft.client.Session
- All Implemented Interfaces:
com.mojang.bridge.game.GameSession
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSession(ClientLevel p_92325_, LocalPlayer p_92326_, ClientPacketListener p_92327_)
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
-
Field Details
-
players
private final int players -
isRemoteServer
private final boolean isRemoteServer -
difficulty
-
gameMode
-
id
-
-
Constructor Details
-
Session
-
-
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
-