net.minecraft.client.gui.screen.multiplayer

public class SocialInteractionsPlayerListWidget

net.minecraft.client.gui.screens.social.SocialInteractionsPlayerList
net.minecraft.class_5521
net.minecraft.client.gui.screen.multiplayer.SocialInteractionsPlayerListWidget

Field summary

Modifier and TypeField
private final MinecraftClient
minecraft
field_1_11829
client
private final SocialInteractionsScreen
interactionsScreen
field_26867
parent
private final List<SocialInteractionsPlayerListEntry>
players
field_26869
players
private final FriendSearchManager
filter
field_1_11827
friendSearchManager
private final Comparator<SocialInteractionsPlayerListEntry>
comparator
field_1_11826
entryComparator
private PlayerInteractionsTab
interactionsTab
field_1_11828
playerInteractionsTab

Constructor summary

ModifierConstructor
public (MinecraftClient client, SocialInteractionsScreen parent, FriendSearchManager friendSearchManager, FriendWidgetComparator comparator)

Method summary

Modifier and TypeMethod
void
setActiveTab(PlayerInteractionsTab tab)
method_1_11462(class_1_1809 arg0)
setPlayerInteractionsTab(PlayerInteractionsTab playerInteractionsTab)
public void
updatePlayerList(Collection<UUID> playersToAdd, boolean addOfflineEntries)
method_31393(Collection<UUID> arg0, boolean arg1)
update(Collection<UUID> playerIds, boolean includeOffline)
private void
addOnlinePlayers(Collection<UUID> playersToAdd, Map<UUID, PlayerEntry> output)
method_44699(Collection<UUID> arg0, Map<UUID, class_5519> arg1)
setPlayers(Collection<UUID> playerUuids, Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids)
private void
addSeenPlayers(Map<UUID, PlayerEntry> newEntries)
method_73221(Map<UUID, class_5519> arg0)
collectOfflinePlayers(Map<UUID, SocialInteractionsPlayerListEntry> entriesByUuids)
private SocialInteractionsPlayerListEntry
makePlayerEntry(UUID id, PlayerInfo playerInfo)
method_73222(UUID arg0, class_640 arg1)
createListEntry(UUID uuid, PlayerListEntry playerListEntry)
private void
updatePlayersFromChatLog(Map<UUID, PlayerEntry> entries, boolean addOfflineEntries)
method_44759(Map<UUID, class_5519> arg0, boolean arg1)
markOfflineMembers(Map<UUID, SocialInteractionsPlayerListEntry> entries, boolean includeOffline)
public static Map<UUID, com.mojang.authlib.GameProfile>
collectProfilesFromChatLog(ChatLog chatLog)
method_45665(class_7555 arg0)
collectReportableProfiles(ChatLog log)
private void
updateFiltersAndScroll(Collection<PlayerEntry> newEntries)
method_1_11463(Collection<class_5519> arg0)
setEntries(Collection<SocialInteractionsPlayerListEntry> playerEntries)
public boolean
isEmpty()
method_31348()
isEmpty()
public void
addPlayer(PlayerInfo player, SocialInteractionsScreen$Page page)
method_31345(class_640 arg0, class_5522$class_5523 arg1)
setPlayerOnline(PlayerListEntry player, SocialInteractionsScreen$Tab tab)
public void
removePlayer(UUID id)
method_31347(UUID arg0)
setPlayerOffline(UUID uuid)
private static boolean
isValidPlayerName(String name)
method_1_11460(String arg0)
startsWithValidCharacter(String playerName)
private void
lambda$updatePlayersFromChatLog$0(boolean arg0, Map arg1, UUID arg2, com.mojang.authlib.GameProfile arg3)
method_74044(boolean arg0, Map arg1, UUID arg2, com.mojang.authlib.GameProfile arg3)
method_74044(boolean arg0, Map arg1, UUID uuid, com.mojang.authlib.GameProfile profile)
private SocialInteractionsPlayerListEntry
lambda$updatePlayersFromChatLog$1(UUID arg0, com.mojang.authlib.GameProfile arg1, UUID arg2)
method_44758(UUID arg0, com.mojang.authlib.GameProfile arg1, UUID arg2)
method_44758(UUID arg0, com.mojang.authlib.GameProfile arg1, UUID uuid1)
private SocialInteractionsPlayerListEntry
lambda$addSeenPlayers$0(Map$Entry arg0, UUID arg1)
method_73220(Map$Entry arg0, UUID arg1)
method_73220(Map$Entry arg0, UUID uuid)
private static Boolean
lambda$new$0(PlayerEntry arg0)
method_1_11461(class_5519 arg0)
method_1_11461(SocialInteractionsPlayerListEntry entry)