net.minecraft.client.gui.layouts

public class HeaderAndFooterLayout

implements Layout

eqv
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
private static final int
a
DEFAULT_HEADER_AND_FOOTER_HEIGHT
field_42490
DEFAULT_HEADER_FOOTER_HEIGHT
f_268474_
private static final int
b
DEFAULT_CONTENT_MARGIN_TOP
field_43136
FOOTER_MARGIN_TOP
f_276136_
private final FrameLayout
c
headerFrame
field_42491
header
f_268720_
private final FrameLayout
d
footerFrame
field_42492
body
f_268592_
private final FrameLayout
e
contentsFrame
field_42493
footer
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
e(int arg0)
setX(int arg0)
method_46421(int arg0)
setX(int arg0)
m_252865_(int arg0)
public void
f(int arg0)
setY(int arg0)
method_46419(int arg0)
setY(int arg0)
m_253211_(int arg0)
public int
p()
getX()
method_46426()
getX()
m_252754_()
public int
q()
getY()
method_46427()
getY()
m_252907_()
public int
j()
getWidth()
method_25368()
getWidth()
m_5711_()
public int
h()
getHeight()
method_25364()
getHeight()
m_93694_()
public int
a()
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
b()
getHeaderHeight()
method_48998()
getHeaderHeight()
m_269355_()
public void
b(Consumer<eqx> arg0)
visitChildren(Consumer<LayoutElement> arg0)
method_48227(Consumer<class_8021> arg0)
forEachElement(Consumer<Widget> arg0)
m_264090_(Consumer<C_263644_> arg0)
public void
c()
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, eqy arg1)
addToHeader(T arg0, LayoutSettings arg1)
method_48993(T arg0, class_7847 arg1)
addHeader(T widget, Positioner positioner)
m_269342_(T p_270558_, C_263611_ arg1)
public <T extends LayoutElement> T
b(T arg0)
addToFooter(T arg0)
method_48996(T arg0)
addBody(T widget)
m_269281_(T arg0)
public <T extends LayoutElement> T
b(T arg0, eqy arg1)
addToFooter(T arg0, LayoutSettings arg1)
method_48997(T arg0, class_7847 arg1)
addBody(T widget, Positioner positioner)
m_269450_(T p_270492_, C_263611_ arg1)
public <T extends LayoutElement> T
c(T arg0)
addToContents(T arg0)
method_48999(T arg0)
addFooter(T widget)
m_268999_(T arg0)
public <T extends LayoutElement> T
c(T arg0, eqy arg1)
addToContents(T arg0, LayoutSettings arg1)
method_49000(T arg0, class_7847 arg1)
addFooter(T widget, Positioner positioner)
m_269340_(T p_270075_, C_263611_ arg1)
public LayoutSettings
d()
newHeaderLayoutSettings()
method_49001()
copyHeaderPositioner()
m_269068_()
public LayoutSettings
e()
newContentLayoutSettings()
method_49002()
copyFooterPositioner()
m_269403_()
public LayoutSettings
f()
newFooterLayoutSettings()
method_49003()
copyBodyPositioner()
m_269493_()