net.minecraft.client.friend.gui.screen

public class FriendsScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.friends.FriendsOverlayScreen
net.minecraft.class_1_986
net.minecraft.client.friend.gui.screen.FriendsScreen

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_1_6801
LOGGER
private static final Text
TITLE
field_1_6805
FRIENDS_OPEN_TEXT
private static final Identifier
BACKGROUND_SPRITE
field_1_6791
FRIENDS_BACKGROUND_TEXTURE_TEXT
private static final Text
LOADING_FRIENDS
field_1_6799
LOADING_FRIENDS_TEXT
private static final Text
LOADING_REQUESTS
field_1_6800
LOADING_REQUESTS_TEXT
private static final Text
ERROR_UPGRADE_NEEDED
field_1_6797
UPGRADE_NEEDED_TEXT
private static final Text
ERROR_CONNECTION_ISSUE
field_1_6793
CONNECTION_ISSUE_TEXT
private static final Text
ERROR_TEMPORARY_UNAVAILABLE
field_1_6795
TEMPORARILY_UNAVAILABLE_TEXT
private static final Text
ERROR_USER_MAY_LACK_ACTIVE_PROFILE
field_1_6798
USER_MAY_LACK_ACTIVE_PROFILE_TEXT
private static final Text
ERROR_UNAUTHORIZED
field_1_7154
UNAUTHORIZED_TEXT
private static final Text
ERROR_GENERIC
field_1_6794
GENERIC_ERROR_TEXT
private static final Text
ERROR_TOAST_GENERIC
field_1_6796
GENERIC_ERROR_TOAST_TEXT
private static final int
BG_BORDER_WIDTH
field_1_6792
field_1_6792
private static final int
OVERLAY_WIDTH
field_1_6802
field_1_6802
public static final int
TAB_BUTTON_WIDTH
field_1_6804
field_1_6804
private static final int
TAB_BUTTON_HEIGHT
field_1_6803
field_1_6803
private final Screen
backgroundScreen
field_1_6806
parent
private FriendsTab
friendsTab
field_1_6809
friendsTab
private PendingFriendRequestsTab
pendingTab
field_1_6815
pendingFriendRequestsTab
private TabNavigationWidget
tabNavigationBar
field_1_6817
tabNavigation
private DirectionalLayoutWidget
layout
field_1_6810
tabLayoutWidget
private DirectionalLayoutWidget
contentLayout
field_1_6807
tabs
private FriendTabButtonWidget
pendingTabButton
field_1_6814
pendingFriendRequestsTabButton
private final TabManager
tabManager
field_1_6816
tabManager
private final Runnable
friendListUpdateListener
field_1_6808
updateStatusIfCurrentScreenRunnable
private final Set<UUID>
pendingFriendRemovals
field_1_6813
pendingFriendRemovals

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
added()
method_49589()
onDisplayed()
public void
removed()
method_25432()
removed()
private void
onFriendListUpdate()
method_1_6008()
updateStatusIfCurrentScreen()
protected void
init()
method_25426()
init()
public int
getOverlayWidth()
method_1_5995()
getWidth()
protected void
repositionElements()
method_48640()
refreshWidgetPositions()
public void
tick()
method_25393()
tick()
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
private void
selectTab(Tab tab)
method_1_6012(class_8087 arg0)
loadTab(Tab tab)
private void
deselectTab(Tab tab)
method_1_5994(class_8087 arg0)
unloadTab(Tab tab)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
onClose()
method_25419()
close()
public void
refreshLists()
method_1_6011()
updateStatus()
public void
applyPresenceUpdate()
method_1_6407()
queryPresenceResponse()
private void
showError(Component message)
method_1_6013(class_2561 arg0)
setErrorMessage(Text errorMessage)
private void
populateLists(PlayerSocialManager playerSocialManager)
method_1_6010(class_5520 arg0)
onSuccess(SocialInteractionsManager socialInteractionsManager)
void
startFriendAction()
method_1_6014()
update()
private Void
onActionFailed(Throwable ex)
method_1_6007(Throwable arg0)
showFriendActionError(Throwable ex)
private void
lambda$onActionFailed$0()
method_1_5999()
method_1_5999()
private void
lambda$populateLists$6(PlayerSocialManager$PlayerData arg0)
method_1_6006(class_5520$class_1_980 arg0)
method_1_6006(SocialInteractionsManager$Player arg0)
private void
lambda$populateLists$5(PlayerSocialManager$PlayerData arg0)
method_1_6005(class_5520$class_1_980 arg0)
method_1_6005(SocialInteractionsManager$Player arg0)
private void
lambda$populateLists$3(PlayerSocialManager$PlayerData arg0)
method_1_6003(class_5520$class_1_980 arg0)
method_1_6003(SocialInteractionsManager$Player arg0)
private void
lambda$populateLists$4(com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg0)
method_1_6004(com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg0)
method_1_6004(com.mojang.authlib.yggdrasil.FriendsService$ResultCode resultCode)
private void
lambda$populateLists$0(UUID arg0)
method_1_6000(UUID arg0)
method_1_6000(UUID arg0)
private void
lambda$populateLists$2(com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg0)
method_1_6002(com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg0)
method_1_6002(com.mojang.authlib.yggdrasil.FriendsService$ResultCode resultCode)
private void
lambda$populateLists$1(UUID arg0, com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg1, Throwable arg2)
method_1_6001(UUID arg0, com.mojang.authlib.yggdrasil.FriendsService$ResultCode arg1, Throwable arg2)
method_1_6001(UUID arg0, com.mojang.authlib.yggdrasil.FriendsService$ResultCode resultCode, Throwable ex)
private static void
lambda$init$0(FriendsOverlayScreen arg0, AbstractWidget arg1)
method_1_5996(class_1_986 arg0, class_339 arg1)
method_1_5996(FriendsScreen arg0, ClickableWidget child)
private static void
lambda$new$1(FriendsOverlayScreen arg0, AbstractWidget arg1)
method_1_5998(class_1_986 arg0, class_339 arg1)
method_1_5998(FriendsScreen arg0, ClickableWidget widget)
private static void
lambda$new$0(FriendsOverlayScreen arg0, AbstractWidget arg1)
method_1_5997(class_1_986 arg0, class_339 arg1)
method_1_5997(FriendsScreen arg0, ClickableWidget widget)