net.minecraft.client.friend.gui.tab

public abstract class FriendListTab

implements Tab

net.minecraft.client.gui.screens.friends.AbstractFriendsTab
net.minecraft.class_1_979
net.minecraft.client.friend.gui.tab.FriendListTab

Field summary

Modifier and TypeField
public static final Identifier
LIST_SEPARATOR_TOP
field_1_11650
LIST_SEPARATOR_TOP_TEXTURE
public static final Identifier
BACKGROUND_LIGHT_SPRITE
field_1_11649
BACKGROUND_LIGHT_TEXTURE
public static final int
SPACING
field_1_6751
field_1_6751
public static final int
SCROLLBAR_SPACING
field_1_11652
field_1_11652
public static final int
LIST_MARGIN
field_1_6752
field_1_6752
public static final int
SEPARATOR_HEIGHT
field_1_7095
field_1_7095
private static final int
MANAGE_ACCOUNT_FOOTER_MARGIN
field_1_11651
field_1_11651
private final DirectionalLayoutWidget
layout
field_1_11654
layout
protected final SimplePositioningWidget
headerFrame
field_1_11653
searchLayout
protected final DirectionalLayoutWidget
scrollableContent
field_1_11655
body
protected final ScrollableLayoutWidget
scrollableLayout
field_1_11656
container
protected final int
width
field_1_6754
width
protected int
height
field_1_6753
height

Constructor summary

ModifierConstructor
public (MinecraftClient client, int width, int height)

Method summary

Modifier and TypeMethod
protected int
getListContentWidth()
method_1_6324()
getInnerWidth()
protected void
rearrangeElements()
method_1_5928()
relayout()
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()
public final void
disable()
method_1_5925()
update()
public void
setHeight(int height)
method_1_5929(int arg0)
setHeight(int height)
protected void
showCenteredContent(LayoutElement content)
method_1_11335(class_8021 arg0)
setBody(Widget widget)
protected NarratedMultilineTextWidget
createText(Component message, Font font, int maxWidth)
method_1_6323(class_2561 arg0, class_327 arg1, int arg2)
createText(Text text, TextRenderer textRenderer, int width)
protected MultilineTextWidget
createCenteredText(Component message, Font font, int maxWidth)
method_1_6322(class_2561 arg0, class_327 arg1, int arg2)
createCenteredText(Text text, TextRenderer textRenderer, int width)
protected void
showManageAccountFooter(Screen parentScreen, Component message)
method_1_11336(class_437 arg0, class_2561 arg1)
addCenteredText(Screen screen, Text text)
protected SimplePositioningWidget
createManageAccountFooter(Screen parentScreen, Component message)
method_1_11331(class_437 arg0, class_2561 arg1)
createCenteredText(Screen screen, Text text)
public void
extractBackground(GuiGraphicsExtractor graphics)
method_1_11332(class_332 arg0)
renderBackground(DrawContext context)
private static void
lambda$createManageAccountFooter$0(Screen arg0, Style arg1)
method_1_11333(class_437 arg0, class_2583 arg1)
method_1_11333(Screen arg0, Style style)
private static void
lambda$showManageAccountFooter$0(LayoutSettings arg0)
method_1_11334(class_7847 arg0)
method_1_11334(Positioner positioner)
private static void
lambda$disable$0(AbstractWidget arg0)
method_1_5927(class_339 arg0)
method_1_5927(ClickableWidget child)