net.minecraft.client.gui.layouts

public class LinearLayout

extends AbstractLayout

All mapped superinterfaces:

Layout, LayoutElement

eqz
net.minecraft.client.gui.layouts.LinearLayout
net.minecraft.class_7849
net.minecraft.client.gui.widget.AxisGridWidget
net.minecraft.src.C_263623_

Field summary

Modifier and TypeField
private final LinearLayout$Orientation
c
orientation
field_40784
axis
f_263650_
private final List<LinearLayout$ChildContainer>
d
children
field_40785
elements
f_263711_
private final LayoutSettings
e
defaultChildLayoutSettings
field_40787
mainPositioner
f_263686_

Constructor summary

ModifierConstructor
public (int width, int height, LinearLayout$Orientation axis)
public (int x, int y, int width, int height, LinearLayout$Orientation axis)

Method summary

Modifier and TypeMethod
public void
c()
arrangeElements()
method_48222()
refreshPositions()
m_264036_()
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 LayoutSettings
a()
newChildLayoutSettings()
method_46499()
copyPositioner()
m_264453_()
public LayoutSettings
b()
defaultChildLayoutSetting()
method_46500()
getMainPositioner()
m_264286_()
public <T extends LayoutElement> T
a(T arg0)
addChild(T arg0)
method_46495(T arg0)
add(T widget)
m_264406_(T arg0)
public <T extends LayoutElement> T
a(T arg0, eqy arg1)
addChild(T arg0, LayoutSettings arg1)
method_46496(T arg0, class_7847 arg1)
add(T widget, Positioner positioner)
m_264512_(T p_265684_, C_263611_ arg1)