类 PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
-
字段概要
字段修饰符和类型字段说明private RemoteChatSession
private GameType
private int
private SignedMessageValidator
private boolean
private final com.mojang.authlib.GameProfile
private String
private Component
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,
ResourceLocation> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
clearChatSession
(boolean pEnforcesSecureChat) private static SignedMessageValidator
fallbackMessageValidator
(boolean pEnforeSecureChat) int
com.mojang.authlib.GameProfile
getTeam()
boolean
boolean
boolean
protected void
protected void
setChatSession
(RemoteChatSession pChatSession) protected void
setGameMode
(GameType pGameMode) protected void
setLatency
(int pLatency) void
setTabListDisplayName
(Component pDisplayName)
-
字段详细资料
-
profile
private final com.mojang.authlib.GameProfile profile -
textureLocations
private final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,ResourceLocation> textureLocations -
gameMode
-
latency
private int latency -
pendingTextures
private boolean pendingTextures -
skinModel
-
tabListDisplayName
-
chatSession
-
messageValidator
-
-
构造器详细资料
-
PlayerInfo
public PlayerInfo(com.mojang.authlib.GameProfile pProfile, boolean pEnforeSecureChat)
-
-
方法详细资料
-
getProfile
public com.mojang.authlib.GameProfile getProfile() -
getChatSession
-
getMessageValidator
-
hasVerifiableChat
public boolean hasVerifiableChat() -
setChatSession
-
clearChatSession
protected void clearChatSession(boolean pEnforcesSecureChat) -
fallbackMessageValidator
-
getGameMode
-
setGameMode
-
getLatency
public int getLatency() -
setLatency
protected void setLatency(int pLatency) -
isCapeLoaded
public boolean isCapeLoaded() -
isSkinLoaded
public boolean isSkinLoaded() -
getModelName
-
getSkinLocation
-
getCapeLocation
-
getElytraLocation
-
getTeam
-
registerTextures
protected void registerTextures() -
setTabListDisplayName
-
getTabListDisplayName
-