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 final com.mojang.authlib.GameProfile
private final Supplier
<PlayerSkin> private Component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearChatSession
(boolean p_254536_) private static Supplier
<PlayerSkin> createSkinLookup
(com.mojang.authlib.GameProfile p_298306_) private static SignedMessageValidator
fallbackMessageValidator
(boolean p_254311_) int
com.mojang.authlib.GameProfile
getSkin()
getTeam()
boolean
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 -
skinLookup
-
gameMode
-
latency
private int latency -
tabListDisplayName
-
chatSession
-
messageValidator
-
-
Constructor Details
-
PlayerInfo
public PlayerInfo(com.mojang.authlib.GameProfile p_253609_, boolean p_254409_)
-
-
Method Details
-
createSkinLookup
-
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_) -
getSkin
-
getTeam
-
setTabListDisplayName
-
getTabListDisplayName
-