net.minecraft.client.gui.screen.multiplayer

public class SocialInteractionsPlayerListWidget

extends ElementListWidget<SocialInteractionsPlayerListEntry>

All mapped superinterfaces:

Widget, Drawable, Element, Navigable, Selectable, Narratable, ParentElement

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 SocialInteractionsScreen
socialInteractionsScreen
field_26867
parent
private final List<SocialInteractionsPlayerListEntry>
players
field_26869
players
private String
filter
field_26870
currentSearch

Constructor summary

ModifierConstructor
public (SocialInteractionsScreen parent, MinecraftClient client, int width, int height, int y, int itemHeight)

Method summary

Modifier and TypeMethod
protected void
extractListBackground(GuiGraphicsExtractor graphics)
method_57715(class_332 arg0)
drawMenuListBackground(DrawContext arg0)
protected void
extractListSeparators(GuiGraphicsExtractor graphics)
method_57713(class_332 arg0)
drawHeaderAndFooterSeparators(DrawContext arg0)
protected void
enableScissor(GuiGraphicsExtractor graphics)
method_49603(class_332 arg0)
enableScissor(DrawContext arg0)
public void
updatePlayerList(Collection<UUID> playersToAdd, double scrollAmount, boolean addOfflineEntries)
method_31393(Collection<UUID> arg0, double arg1, boolean arg2)
update(Collection<UUID> uuids, double scrollAmount, 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)
private static Map<UUID, com.mojang.authlib.GameProfile>
collectProfilesFromChatLog(ChatLog chatLog)
method_45665(class_7555 arg0)
collectReportableProfiles(ChatLog log)
private void
sortPlayerEntries()
method_44762()
sortPlayers()
private void
updateFiltersAndScroll(Collection<PlayerEntry> newEntries, double scrollAmount)
method_44698(Collection<class_5519> arg0, double arg1)
refresh(Collection<SocialInteractionsPlayerListEntry> players, double scrollAmount)
private void
updateFilteredPlayers()
method_31349()
filterPlayers()
public void
setFilter(String filter)
method_31346(String arg0)
setCurrentSearch(String currentSearch)
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)
public void
refreshHasDraftReport()
method_71089()
updateHasDraftReport()
private void
lambda$refreshHasDraftReport$0(PlayerEntry arg0)
method_71088(class_5519 arg0)
method_71088(SocialInteractionsPlayerListEntry player)
private boolean
lambda$updateFilteredPlayers$0(PlayerEntry arg0)
method_31342(class_5519 arg0)
method_31342(SocialInteractionsPlayerListEntry player)
private static Integer
lambda$sortPlayerEntries$1(PlayerEntry arg0)
method_44760(class_5519 arg0)
method_44760(SocialInteractionsPlayerListEntry player)
private Integer
lambda$sortPlayerEntries$0(PlayerEntry arg0)
method_44761(class_5519 arg0)
method_44761(SocialInteractionsPlayerListEntry player)
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(com.mojang.authlib.GameProfile arg0, UUID arg1)
method_44758(com.mojang.authlib.GameProfile arg0, UUID arg1)
method_44758(com.mojang.authlib.GameProfile arg0, UUID uuid)
private SocialInteractionsPlayerListEntry
lambda$addSeenPlayers$0(Map$Entry arg0, UUID arg1)
method_73220(Map$Entry arg0, UUID arg1)
method_73220(Map$Entry arg0, UUID uuid)