类 ClientGameSession
- java.lang.Object
-
- net.minecraft.client.ClientGameSession
-
- 所有已实现的接口:
com.mojang.bridge.game.GameSession
@Environment(CLIENT) public class ClientGameSession extends Object implements com.mojang.bridge.game.GameSession
- Mappings:
Namespace Name official duvintermediary net/minecraft/class_3801named net/minecraft/client/ClientGameSession
-
-
字段概要
字段 修饰符和类型 字段 说明 private Stringdifficultyprivate StringgameModeprivate intplayerCountprivate booleanremoteServerprivate UUIDsessionId
-
构造器概要
构造器 构造器 说明 ClientGameSession(ClientWorld world, ClientPlayerEntity player, ClientPlayNetworkHandler networkHandler)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetDifficulty()StringgetGameMode()intgetPlayerCount()UUIDgetSessionId()booleanisRemoteServer()
-
-
-
字段详细资料
-
playerCount
private final int playerCount
- Mappings:
Namespace Name Mixin selector official aLduv;a:Iintermediary field_16765Lnet/minecraft/class_3801;field_16765:Inamed playerCountLnet/minecraft/client/ClientGameSession;playerCount:I
-
remoteServer
private final boolean remoteServer
- Mappings:
Namespace Name Mixin selector official bLduv;b:Zintermediary field_16766Lnet/minecraft/class_3801;field_16766:Znamed remoteServerLnet/minecraft/client/ClientGameSession;remoteServer:Z
-
difficulty
private final String difficulty
- Mappings:
Namespace Name Mixin selector official cLduv;c:Ljava/lang/String;intermediary field_16763Lnet/minecraft/class_3801;field_16763:Ljava/lang/String;named difficultyLnet/minecraft/client/ClientGameSession;difficulty:Ljava/lang/String;
-
gameMode
private final String gameMode
- Mappings:
Namespace Name Mixin selector official dLduv;d:Ljava/lang/String;intermediary field_16764Lnet/minecraft/class_3801;field_16764:Ljava/lang/String;named gameModeLnet/minecraft/client/ClientGameSession;gameMode:Ljava/lang/String;
-
sessionId
private final UUID sessionId
- Mappings:
Namespace Name Mixin selector official eLduv;e:Ljava/util/UUID;intermediary field_16767Lnet/minecraft/class_3801;field_16767:Ljava/util/UUID;named sessionIdLnet/minecraft/client/ClientGameSession;sessionId:Ljava/util/UUID;
-
-
构造器详细资料
-
ClientGameSession
public ClientGameSession(ClientWorld world, ClientPlayerEntity player, ClientPlayNetworkHandler networkHandler)
- Mappings:
Namespace Name Mixin selector official <init>Lduv;<init>(Lehx;Lekv;Lehy;)Vintermediary <init>Lnet/minecraft/class_3801;<init>(Lnet/minecraft/class_638;Lnet/minecraft/class_746;Lnet/minecraft/class_634;)Vnamed <init>Lnet/minecraft/client/ClientGameSession;<init>(Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/client/network/ClientPlayNetworkHandler;)V
-
-
方法详细资料
-
getPlayerCount
public int getPlayerCount()
- 指定者:
getPlayerCount在接口中com.mojang.bridge.game.GameSession- Mappings:
Namespace Name Mixin selector official getPlayerCountLduv;getPlayerCount()Iintermediary getPlayerCountLnet/minecraft/class_3801;getPlayerCount()Inamed getPlayerCountLnet/minecraft/client/ClientGameSession;getPlayerCount()I
-
isRemoteServer
public boolean isRemoteServer()
- 指定者:
isRemoteServer在接口中com.mojang.bridge.game.GameSession- Mappings:
Namespace Name Mixin selector official isRemoteServerLduv;isRemoteServer()Zintermediary isRemoteServerLnet/minecraft/class_3801;isRemoteServer()Znamed isRemoteServerLnet/minecraft/client/ClientGameSession;isRemoteServer()Z
-
getDifficulty
public String getDifficulty()
- 指定者:
getDifficulty在接口中com.mojang.bridge.game.GameSession- Mappings:
Namespace Name Mixin selector official getDifficultyLduv;getDifficulty()Ljava/lang/String;intermediary getDifficultyLnet/minecraft/class_3801;getDifficulty()Ljava/lang/String;named getDifficultyLnet/minecraft/client/ClientGameSession;getDifficulty()Ljava/lang/String;
-
getGameMode
public String getGameMode()
- 指定者:
getGameMode在接口中com.mojang.bridge.game.GameSession- Mappings:
Namespace Name Mixin selector official getGameModeLduv;getGameMode()Ljava/lang/String;intermediary getGameModeLnet/minecraft/class_3801;getGameMode()Ljava/lang/String;named getGameModeLnet/minecraft/client/ClientGameSession;getGameMode()Ljava/lang/String;
-
getSessionId
public UUID getSessionId()
- 指定者:
getSessionId在接口中com.mojang.bridge.game.GameSession- Mappings:
Namespace Name Mixin selector official getSessionIdLduv;getSessionId()Ljava/util/UUID;intermediary getSessionIdLnet/minecraft/class_3801;getSessionId()Ljava/util/UUID;named getSessionIdLnet/minecraft/client/ClientGameSession;getSessionId()Ljava/util/UUID;
-
-