net.minecraft.client.gui.layouts

public class HeaderAndFooterLayout

implements Layout

flz
net.minecraft.client.gui.layouts.HeaderAndFooterLayout
net.minecraft.class_8132
net.minecraft.client.gui.widget.ThreePartsLayoutWidget
net.minecraft.src.C_268377_

Field summary

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

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
m(int arg0)
setX(int arg0)
method_46421(int arg0)
setX(int arg0)
m_252865_(int arg0)
public void
n(int arg0)
setY(int arg0)
method_46419(int arg0)
setY(int arg0)
m_253211_(int arg0)
public int
D()
getX()
method_46426()
getX()
m_252754_()
public int
E()
getY()
method_46427()
getY()
m_252907_()
public int
y()
getWidth()
method_25368()
getWidth()
m_5711_()
public int
w()
getHeight()
method_25364()
getHeight()
m_93694_()
public int
b()
getFooterHeight()
method_48994()
getFooterHeight()
m_269040_()
public void
a(int arg0)
setFooterHeight(int arg0)
method_48991(int arg0)
setFooterHeight(int footerHeight)
m_269413_(int arg0)
public void
b(int arg0)
setHeaderHeight(int arg0)
method_48995(int arg0)
setHeaderHeight(int headerHeight)
m_269376_(int arg0)
public int
c()
getHeaderHeight()
method_48998()
getHeaderHeight()
m_269355_()
public int
d()
getContentHeight()
method_57727()
getContentHeight()
m_319781_()
public void
b(Consumer<fmb> arg0)
visitChildren(Consumer<LayoutElement> arg0)
method_48227(Consumer<class_8021> arg0)
forEachElement(Consumer<Widget> arg0)
m_264090_(Consumer<C_263644_> arg0)
public void
a()
arrangeElements()
method_48222()
refreshPositions()
m_264036_()
public <T extends LayoutElement> T
a(T arg0)
addToHeader(T arg0)
method_48992(T arg0)
addHeader(T widget)
m_269471_(T arg0)
public <T extends LayoutElement> T
a(T arg0, Consumer<fmc> arg1)
addToHeader(T arg0, Consumer<LayoutSettings> arg1)
method_48993(T arg0, Consumer<class_7847> arg1)
addHeader(T widget, Consumer<Positioner> callback)
m_269342_(T p_300314_, Consumer<C_263611_> arg1)
public void
a(wz arg0, fhx arg1)
addTitleHeader(Component arg0, Font arg1)
method_57726(class_2561 arg0, class_327 arg1)
addHeader(Text text, TextRenderer textRenderer)
m_324480_(C_4996_ p_331722_, C_3429_ arg1)
public <T extends LayoutElement> T
b(T arg0)
addToFooter(T arg0)
method_48996(T arg0)
addFooter(T widget)
m_269281_(T arg0)
public <T extends LayoutElement> T
b(T arg0, Consumer<fmc> arg1)
addToFooter(T arg0, Consumer<LayoutSettings> arg1)
method_48997(T arg0, Consumer<class_7847> arg1)
addFooter(T widget, Consumer<Positioner> callback)
m_269450_(T p_301265_, Consumer<C_263611_> arg1)
public <T extends LayoutElement> T
c(T arg0)
addToContents(T arg0)
method_48999(T arg0)
addBody(T widget)
m_268999_(T arg0)
public <T extends LayoutElement> T
c(T arg0, Consumer<fmc> arg1)
addToContents(T arg0, Consumer<LayoutSettings> arg1)
method_49000(T arg0, Consumer<class_7847> arg1)
addBody(T widget, Consumer<Positioner> callback)
m_269340_(T p_299569_, Consumer<C_263611_> arg1)