Package net.minecraft.client.multiplayer
Class PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate RemoteChatSessionprivate GameTypeprivate intprivate SignedMessageValidatorprivate booleanprivate final com.mojang.authlib.GameProfileprivate Stringprivate Componentprivate final Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,ResourceLocation> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearChatSession(boolean p_254536_) private static SignedMessageValidatorfallbackMessageValidator(boolean p_254311_) intcom.mojang.authlib.GameProfilegetTeam()booleanbooleanbooleanprotected voidprotected 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 -
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
-