Package net.minecraft.client.multiplayer
Class PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate RemoteChatSessionprivate GameTypeprivate intprivate SignedMessageValidatorprivate final com.mojang.authlib.GameProfileprivate final Supplier<PlayerSkin>private Component
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidclearChatSession(boolean p_254536_) private static Supplier<PlayerSkin>createSkinLookup(com.mojang.authlib.GameProfile p_298306_) private static SignedMessageValidatorfallbackMessageValidator(boolean p_254311_) intcom.mojang.authlib.GameProfilegetSkin()getTeam()booleanprotected voidsetChatSession(RemoteChatSession p_249599_) protected voidsetGameMode(GameType p_105318_) protected voidsetLatency(int p_105314_) voidsetTabListDisplayName(Component p_105324_) 
- 
Field Details- 
profileprivate final com.mojang.authlib.GameProfile profile
- 
skinLookup
- 
gameMode
- 
latencyprivate int latency
- 
tabListDisplayName
- 
chatSession
- 
messageValidator
 
- 
- 
Constructor Details- 
PlayerInfopublic PlayerInfo(com.mojang.authlib.GameProfile p_253609_, boolean p_254409_) 
 
- 
- 
Method Details- 
createSkinLookup
- 
getProfilepublic com.mojang.authlib.GameProfile getProfile()
- 
getChatSession
- 
getMessageValidator
- 
hasVerifiableChatpublic boolean hasVerifiableChat()
- 
setChatSession
- 
clearChatSessionprotected void clearChatSession(boolean p_254536_) 
- 
fallbackMessageValidator
- 
getGameMode
- 
setGameMode
- 
getLatencypublic int getLatency()
- 
setLatencyprotected void setLatency(int p_105314_) 
- 
getSkin
- 
getTeam
- 
setTabListDisplayName
- 
getTabListDisplayName
 
-