类 PlayerInfo
java.lang.Object
net.minecraft.client.multiplayer.PlayerInfo
-
字段概要
字段修饰符和类型字段说明private RemoteChatSession
private GameType
private int
private SignedMessageValidator
private final com.mojang.authlib.GameProfile
private boolean
private final Supplier
<PlayerSkin> private Component
private int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected 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()
int
getTeam()
boolean
protected void
setChatSession
(RemoteChatSession p_249599_) protected void
setGameMode
(GameType p_105318_) protected void
setLatency
(int p_105314_) void
setShowHat
(boolean p_376365_) void
setTabListDisplayName
(Component p_105324_) void
setTabListOrder
(int p_364557_) boolean
showHat()
-
字段详细资料
-
profile
private final com.mojang.authlib.GameProfile profile -
skinLookup
-
gameMode
-
latency
private int latency -
tabListDisplayName
-
showHat
private boolean showHat -
chatSession
-
messageValidator
-
tabListOrder
private int tabListOrder
-
-
构造器详细资料
-
PlayerInfo
public PlayerInfo(com.mojang.authlib.GameProfile p_253609_, boolean p_254409_)
-
-
方法详细资料
-
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
-
setShowHat
public void setShowHat(boolean p_376365_) -
showHat
public boolean showHat() -
setTabListOrder
public void setTabListOrder(int p_364557_) -
getTabListOrder
public int getTabListOrder()
-