Uses of Class
net.minecraft.client.multiplayer.PlayerInfo
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of PlayerInfo in net.minecraft.client.gui.components
Modifier and TypeFieldDescriptionprivate static final Comparator<PlayerInfo>
PlayerTabOverlay.PLAYER_COMPARATOR
Modifier and TypeMethodDescriptionprivate Component
PlayerTabOverlay.decorateName
(PlayerInfo p_94552_, MutableComponent p_94553_) PlayerTabOverlay.getNameForDisplay
(PlayerInfo p_94550_) protected void
PlayerTabOverlay.renderPingIcon
(PoseStack p_94539_, int p_94540_, int p_94541_, int p_94542_, PlayerInfo p_94543_) -
Uses of PlayerInfo in net.minecraft.client.gui.screens.social
Modifier and TypeMethodDescriptionvoid
PlayerSocialManager.addPlayer
(PlayerInfo p_100677_) void
SocialInteractionsPlayerList.addPlayer
(PlayerInfo p_100715_, SocialInteractionsScreen.Page p_100716_) void
SocialInteractionsScreen.onAddPlayer
(PlayerInfo p_100776_) -
Uses of PlayerInfo in net.minecraft.client.gui.spectator.categories
Modifier and TypeFieldDescriptionprivate final List<PlayerInfo>
TeleportToTeamMenuCategory.TeamSelectionItem.players
private static final Comparator<PlayerInfo>
TeleportToPlayerMenuCategory.PROFILE_ORDER
ModifierConstructorDescriptionprivate
TeamSelectionItem
(PlayerTeam p_259176_, List<PlayerInfo> p_259231_, ResourceLocation p_260113_) TeleportToPlayerMenuCategory
(Collection<PlayerInfo> p_101861_) -
Uses of PlayerInfo in net.minecraft.client.multiplayer
Modifier and TypeFieldDescriptionprivate final Set<PlayerInfo>
ClientPacketListener.listedPlayers
private final Map<UUID,
PlayerInfo> ClientPacketListener.playerInfoMap
Modifier and TypeMethodDescriptionClientPacketListener.getPlayerInfo
(String p_104939_) ClientPacketListener.getPlayerInfo
(UUID p_104950_) Modifier and TypeMethodDescriptionClientPacketListener.getListedOnlinePlayers()
ClientPacketListener.getOnlinePlayers()
Modifier and TypeMethodDescriptionprivate void
ClientPacketListener.applyPlayerInfoUpdate
(ClientboundPlayerInfoUpdatePacket.Action p_248954_, ClientboundPlayerInfoUpdatePacket.Entry p_251310_, PlayerInfo p_251146_) private void
ClientPacketListener.initializeChatSession
(ClientboundPlayerInfoUpdatePacket.Entry p_248806_, PlayerInfo p_251136_) -
Uses of PlayerInfo in net.minecraft.client.player
-
Uses of PlayerInfo in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.onClientChangeGameType
(PlayerInfo info, GameType currentGameMode, GameType newGameMode) -
Uses of PlayerInfo in net.minecraftforge.client.event
Modifier and TypeMethodDescriptionClientPlayerChangeGameTypeEvent.getInfo()
Returns the client player information.ModifierConstructorDescriptionClientPlayerChangeGameTypeEvent
(PlayerInfo info, GameType currentGameType, GameType newGameType)