Class ClientGameSession

  • All Implemented Interfaces:
    com.mojang.bridge.game.GameSession

    public class ClientGameSession
    extends java.lang.Object
    implements com.mojang.bridge.game.GameSession
    • Field Detail

      • players

        private final int players
      • isRemoteServer

        private final boolean isRemoteServer
      • difficulty

        private final java.lang.String difficulty
      • gameMode

        private final java.lang.String gameMode
      • id

        private final java.util.UUID id
    • Method Detail

      • getPlayerCount

        public int getPlayerCount()
        Specified by:
        getPlayerCount in interface com.mojang.bridge.game.GameSession
      • isRemoteServer

        public boolean isRemoteServer()
        Specified by:
        isRemoteServer in interface com.mojang.bridge.game.GameSession
      • getDifficulty

        public java.lang.String getDifficulty()
        Specified by:
        getDifficulty in interface com.mojang.bridge.game.GameSession
      • getGameMode

        public java.lang.String getGameMode()
        Specified by:
        getGameMode in interface com.mojang.bridge.game.GameSession
      • getSessionId

        public java.util.UUID getSessionId()
        Specified by:
        getSessionId in interface com.mojang.bridge.game.GameSession