Package net.minecraft.client.multiplayer
Class PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RemoteChatSessionprivate GameTypeprivate intprivate SignedMessageValidatorprivate final com.mojang.authlib.GameProfileprivate final Supplier<PlayerSkin>private Component - 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
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
 
 -