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

Constructor summary

ModifierConstructor
public (Screen parent)

Method summary

Modifier and TypeMethod
public void
added()
added()
method_49589()
onDisplayed()
public void
removed()
removed()
method_25432()
removed()
private void
onFriendListUpdate()
onFriendListUpdate()
method_1_6008()
updateStatusIfCurrentScreen()
protected void
init()
init()
method_25426()
init()
public int
getOverlayWidth()
getOverlayWidth()
method_1_5995()
getWidth()
protected void
repositionElements()
repositionElements()
method_48640()
refreshWidgetPositions()
public void
tick()
tick()
method_25393()
tick()
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
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)
selectTab(Tab tab)
method_1_6012(class_8087 arg0)
loadTab(Tab tab)
private void
deselectTab(Tab tab)
deselectTab(Tab tab)
method_1_5994(class_8087 arg0)
unloadTab(Tab tab)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public boolean
keyPressed(KeyEvent event)
keyPressed(KeyEvent event)
method_25404(class_11908 arg0)
keyPressed(KeyInput arg0)
public void
onClose()
onClose()
method_25419()
close()
public void
refreshLists()
refreshLists()
method_1_6011()
updateStatus()
public void
applyPresenceUpdate()
applyPresenceUpdate()
method_1_6407()
queryPresenceResponse()
private void
showError(Component message)
showError(Component message)
method_1_6013(class_2561 arg0)
setErrorMessage(Text errorMessage)
private void
populateLists(PlayerSocialManager playerSocialManager)
populateLists(PlayerSocialManager playerSocialManager)
method_1_6010(class_5520 arg0)
onSuccess(SocialInteractionsManager socialInteractionsManager)
void
startFriendAction()
startFriendAction()
method_1_6014()
update()
private Void
onActionFailed(Throwable ex)
onActionFailed(Throwable ex)
method_1_6007(Throwable arg0)
showFriendActionError(Throwable ex)