net.minecraft.client.friend.gui.tab

class FriendsTab

extends FriendListTab

All mapped superinterfaces:

Tab

net.minecraft.client.gui.screens.friends.FriendsTab
net.minecraft.class_1_926
net.minecraft.client.friend.gui.tab.FriendsTab

Field summary

Modifier and TypeField
private static final Text
TAB_TITLE
field_1_6509
TAB_FRIENDS_TEXT
private static final Text
MICROSOFT_ACCOUNT_LINK
field_1_6508
EMPTY_STATE_LINK
private static final Text
EMPTY_STATE
field_1_6505
EMPTY_STATE_TEXT
private static final Text
MANAGE_ACCOUNT_FOOTER
field_1_6507
MANAGE_ACCOUNT_FOOTER_TEXT
private static final Identifier
ILLUSTRATION
field_1_6506
ILLUSTRATIONS_00_TEXTURE
private final FriendsScreen
screen
field_1_6515
friendsScreen
private final DirectionalLayoutWidget
layout
field_1_6512
root
private final DirectionalLayoutWidget
friendScrollableContent
field_1_6511
body
private final LoadingWidget
loadingDotsWidget
field_1_6513
loadingWidget
private final FriendsTabHeaderWidget
addFriendWidget
field_1_6510
header
private final ScrollableLayoutWidget
scrollableLayout
field_1_6516
scrollable

Constructor summary

ModifierConstructor
(MinecraftClient client, LoadingWidget loadingWidget, FriendsScreen friendsScreen, int width, int height)

Method summary

Modifier and TypeMethod
public void
showLoading()
method_1_5638()
setLoading()
public void
showError(Component message)
method_1_5637(class_2561 arg0)
setErrorMessage(Text message)
public void
showEmpty()
method_1_5636()
addEmptyFriendListBody()
void
rearrangeElements()
method_1_5928()
relayout()
private void
onSendFriendRequestFinished()
method_1_6358()
onSendRequest()
public Text
getTabTitle()
method_48610()
getTitle()
public Text
getTabExtraNarration()
method_71245()
getNarratedHint()
public void
visitChildren(Consumer<AbstractWidget> childrenConsumer)
method_48612(Consumer<class_339> arg0)
forEachChild(Consumer<ClickableWidget> arg0)
public void
doLayout(ScreenRectangle screenRectangle)
method_48611(class_8030 arg0)
refreshGrid(ScreenRect arg0)
public LayoutWidget
getLayout()
method_1_5513()
getLayout()
void
updateEntries(List<FriendEntry> friendEntries)
method_1_5639(List<class_1_929> arg0)
setFriendWidgets(List<FriendWidget> friends)
void
applyPresenceUpdate(com.mojang.authlib.yggdrasil.response.PresenceResponse latestPresence)
method_1_6394(com.mojang.authlib.yggdrasil.response.PresenceResponse arg0)
onPresenceResponse(com.mojang.authlib.yggdrasil.response.PresenceResponse presenceResponse)
private SimplePositioningWidget
createManageAccountFooter()
method_1_5630()
getFooter()
protected LayoutWidget
entriesContainer()
method_1_5926()
getBodyWidget()
private void
lambda$createManageAccountFooter$0(Style arg0)
method_1_5631(class_2583 arg0)
method_1_5631(Style widget)
private static void
lambda$applyPresenceUpdate$0(com.mojang.authlib.yggdrasil.response.PresenceResponse arg0, AbstractWidget arg1)
method_1_6395(com.mojang.authlib.yggdrasil.response.PresenceResponse arg0, class_339 arg1)
method_1_6395(com.mojang.authlib.yggdrasil.response.PresenceResponse arg0, ClickableWidget child)
private void
lambda$showEmpty$0(Style arg0)
method_1_5633(class_2583 arg0)
method_1_5633(Style widget)
private static Style
lambda$static$0(Style arg0)
method_1_5634(class_2583 arg0)
method_1_5634(Style style)