Class ClientGameSession

java.lang.Object
net.minecraft.client.ClientGameSession
All Implemented Interfaces:
com.mojang.bridge.game.GameSession

public class ClientGameSession extends Object implements com.mojang.bridge.game.GameSession
  • Field Details

    • players

      private final int players
    • isRemoteServer

      private final boolean isRemoteServer
    • difficulty

      private final String difficulty
    • gameMode

      private final String gameMode
    • id

      private final UUID id
  • Constructor Details

  • Method Details

    • 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 String getDifficulty()
      Specified by:
      getDifficulty in interface com.mojang.bridge.game.GameSession
    • getGameMode

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

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