net.minecraft.client.gui.layouts

public class HeaderAndFooterLayout

implements Layout

fru
net.minecraft.client.gui.layouts.HeaderAndFooterLayout
net.minecraft.class_8132
net.minecraft.client.gui.widget.ThreePartsLayoutWidget

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_HEADER_AND_FOOTER_HEIGHT
field_42490
DEFAULT_HEADER_FOOTER_HEIGHT
private static final int
b
CONTENT_MARGIN_TOP
field_43136
FOOTER_MARGIN_TOP
private final FrameLayout
c
headerFrame
field_42491
header
private final FrameLayout
d
footerFrame
field_42492
footer
private final FrameLayout
e
contentsFrame
field_42493
body
private final Screen
f
screen
field_42494
screen
private int
g
headerHeight
field_42495
headerHeight
private int
h
footerHeight
field_42496
footerHeight

Constructor summary

ModifierConstructor
public (Screen screen)
public (Screen screen, int headerFooterHeight)
public (Screen screen, int headerHeight, int footerHeight)

Method summary

Modifier and TypeMethod
public void
k(int arg0)
setX(int arg0)
method_46421(int arg0)
setX(int arg0)
public void
l(int arg0)
setY(int arg0)
method_46419(int arg0)
setY(int arg0)
public int
D()
getX()
method_46426()
getX()
public int
E()
getY()
method_46427()
getY()
public int
y()
getWidth()
method_25368()
getWidth()
public int
w()
getHeight()
method_25364()
getHeight()
public int
b()
getFooterHeight()
method_48994()
getFooterHeight()
public void
a(int arg0)
setFooterHeight(int arg0)
method_48991(int arg0)
setFooterHeight(int footerHeight)
public void
b(int arg0)
setHeaderHeight(int arg0)
method_48995(int arg0)
setHeaderHeight(int headerHeight)
public int
c()
getHeaderHeight()
method_48998()
getHeaderHeight()
public int
d()
getContentHeight()
method_57727()
getContentHeight()
public void
b(Consumer<frw> arg0)
visitChildren(Consumer<LayoutElement> arg0)
method_48227(Consumer<class_8021> arg0)
forEachElement(Consumer<Widget> arg0)
public void
a()
arrangeElements()
method_48222()
refreshPositions()
public <T extends LayoutElement> T
a(T arg0)
addToHeader(T arg0)
method_48992(T arg0)
addHeader(T widget)
public <T extends LayoutElement> T
a(T arg0, Consumer<frx> arg1)
addToHeader(T arg0, Consumer<LayoutSettings> arg1)
method_48993(T arg0, Consumer<class_7847> arg1)
addHeader(T widget, Consumer<Positioner> callback)
public void
a(xv arg0, fnq arg1)
addTitleHeader(Component arg0, Font arg1)
method_57726(class_2561 arg0, class_327 arg1)
addHeader(Text text, TextRenderer textRenderer)
public <T extends LayoutElement> T
b(T arg0)
addToFooter(T arg0)
method_48996(T arg0)
addFooter(T widget)
public <T extends LayoutElement> T
b(T arg0, Consumer<frx> arg1)
addToFooter(T arg0, Consumer<LayoutSettings> arg1)
method_48997(T arg0, Consumer<class_7847> arg1)
addFooter(T widget, Consumer<Positioner> callback)
public <T extends LayoutElement> T
c(T arg0)
addToContents(T arg0)
method_48999(T arg0)
addBody(T widget)
public <T extends LayoutElement> T
c(T arg0, Consumer<frx> arg1)
addToContents(T arg0, Consumer<LayoutSettings> arg1)
method_49000(T arg0, Consumer<class_7847> arg1)
addBody(T widget, Consumer<Positioner> callback)