Package net.minecraft.client.multiplayer
Class PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearChatSession
(boolean p_254536_) private static SignedMessageValidator
fallbackMessageValidator
(boolean p_254311_) int
com.mojang.authlib.GameProfile
getTeam()
boolean
boolean
boolean
protected void
protected void
setChatSession
(RemoteChatSession p_249599_) protected void
setGameMode
(GameType p_105318_) protected void
setLatency
(int p_105314_) void
setTabListDisplayName
(Component p_105324_)
-
Field Details
-
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
-
-
Constructor Details
-
PlayerInfo
public PlayerInfo(com.mojang.authlib.GameProfile p_253609_, boolean p_254409_)
-
-
Method Details
-
getProfile
public com.mojang.authlib.GameProfile getProfile() -
getChatSession
-
getMessageValidator
-
hasVerifiableChat
public boolean hasVerifiableChat() -
setChatSession
-
clearChatSession
protected void clearChatSession(boolean p_254536_) -
fallbackMessageValidator
-
getGameMode
-
setGameMode
-
getLatency
public int getLatency() -
setLatency
protected void setLatency(int p_105314_) -
isCapeLoaded
public boolean isCapeLoaded() -
isSkinLoaded
public boolean isSkinLoaded() -
getModelName
-
getSkinLocation
-
getCapeLocation
-
getElytraLocation
-
getTeam
-
registerTextures
protected void registerTextures() -
setTabListDisplayName
-
getTabListDisplayName
-