Package net.minecraft.client
Class ClientGameSession
java.lang.Object
net.minecraft.client.ClientGameSession
- All Implemented Interfaces:
- com.mojang.bridge.game.GameSession
@Environment(CLIENT)
public class ClientGameSession
extends Object
implements com.mojang.bridge.game.GameSession
- Mappings:
- Namespace - Name - official - egg- intermediary - net/minecraft/class_3801- named - net/minecraft/client/ClientGameSession
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientGameSession(ClientWorld world, ClientPlayerEntity player, ClientPlayNetworkHandler networkHandler) 
- 
Method SummaryModifier and TypeMethodDescriptionintboolean
- 
Field Details- 
playerCountprivate final int playerCount- Mappings:
- Namespace - Name - Mixin selector - official - a- Legg;a:I- intermediary - field_16765- Lnet/minecraft/class_3801;field_16765:I- named - playerCount- Lnet/minecraft/client/ClientGameSession;playerCount:I
 
- 
remoteServerprivate final boolean remoteServer- Mappings:
- Namespace - Name - Mixin selector - official - b- Legg;b:Z- intermediary - field_16766- Lnet/minecraft/class_3801;field_16766:Z- named - remoteServer- Lnet/minecraft/client/ClientGameSession;remoteServer:Z
 
- 
difficulty- Mappings:
- Namespace - Name - Mixin selector - official - c- Legg;c:Ljava/lang/String;- intermediary - field_16763- Lnet/minecraft/class_3801;field_16763:Ljava/lang/String;- named - difficulty- Lnet/minecraft/client/ClientGameSession;difficulty:Ljava/lang/String;
 
- 
gameMode- Mappings:
- Namespace - Name - Mixin selector - official - d- Legg;d:Ljava/lang/String;- intermediary - field_16764- Lnet/minecraft/class_3801;field_16764:Ljava/lang/String;- named - gameMode- Lnet/minecraft/client/ClientGameSession;gameMode:Ljava/lang/String;
 
- 
sessionId- Mappings:
- Namespace - Name - Mixin selector - official - e- Legg;e:Ljava/util/UUID;- intermediary - field_16767- Lnet/minecraft/class_3801;field_16767:Ljava/util/UUID;- named - sessionId- Lnet/minecraft/client/ClientGameSession;sessionId:Ljava/util/UUID;
 
 
- 
- 
Constructor Details- 
ClientGameSessionpublic ClientGameSession(ClientWorld world, ClientPlayerEntity player, ClientPlayNetworkHandler networkHandler) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Legg;<init>(Leuv;Leyw;Leuw;)V- intermediary - <init>- Lnet/minecraft/class_3801;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_746;Lnet/minecraft/class_634;)V- named - <init>- Lnet/minecraft/client/ClientGameSession;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
 
 
- 
- 
Method Details- 
getPlayerCountpublic int getPlayerCount()- Specified by:
- getPlayerCountin interface- com.mojang.bridge.game.GameSession
 
- 
isRemoteServerpublic boolean isRemoteServer()- Specified by:
- isRemoteServerin interface- com.mojang.bridge.game.GameSession
 
- 
getDifficulty- Specified by:
- getDifficultyin interface- com.mojang.bridge.game.GameSession
 
- 
getGameMode- Specified by:
- getGameModein interface- com.mojang.bridge.game.GameSession
 
- 
getSessionId- Specified by:
- getSessionIdin interface- com.mojang.bridge.game.GameSession
 
 
-