net.minecraft.client.gui.layouts

public class LinearLayout

implements Layout

fau
net.minecraft.client.gui.layouts.LinearLayout
net.minecraft.class_8667
net.minecraft.client.gui.widget.DirectionalLayoutWidget
net.minecraft.src.C_263623_

Field summary

Modifier and TypeField
private final GridLayout
a
wrapped
field_45400
grid
f_290844_
private final LinearLayout$Orientation
b
orientation
field_45401
axis
f_263650_
private int
c
nextChildIndex
field_45402
currentIndex
f_291156_

Constructor summary

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

Method summary

Modifier and TypeMethod
public LinearLayout
a(int arg0)
spacing(int arg0)
method_52735(int arg0)
spacing(int spacing)
m_294554_(int arg0)
public LayoutSettings
b()
newCellSettings()
method_52739()
copyPositioner()
m_293373_()
public LayoutSettings
c()
defaultCellSetting()
method_52740()
getMainPositioner()
m_294823_()
public <T extends LayoutElement> T
a(T arg0, fat arg1)
addChild(T arg0, LayoutSettings arg1)
method_52737(T arg0, class_7847 arg1)
add(T widget, Positioner positioner)
m_264512_(T p_265684_, C_263611_ arg1)
public <T extends LayoutElement> T
a(T arg0)
addChild(T arg0)
method_52736(T arg0)
add(T widget)
m_264406_(T arg0)
public <T extends LayoutElement> T
a(T arg0, Consumer<fat> arg1)
addChild(T arg0, Consumer<LayoutSettings> arg1)
method_52738(T arg0, Consumer<class_7847> arg1)
add(T widget, Consumer<Positioner> callback)
m_293842_(T p_300497_, Consumer<C_263611_> arg1)
public void
b(Consumer<fas> 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 int
w()
getWidth()
method_25368()
getWidth()
m_5711_()
public int
u()
getHeight()
method_25364()
getHeight()
m_93694_()
public void
n(int arg0)
setX(int arg0)
method_46421(int arg0)
setX(int arg0)
m_252865_(int arg0)
public void
o(int arg0)
setY(int arg0)
method_46419(int arg0)
setY(int arg0)
m_253211_(int arg0)
public int
B()
getX()
method_46426()
getX()
m_252754_()
public int
C()
getY()
method_46427()
getY()
m_252907_()
public static LinearLayout
d()
vertical()
method_52741()
vertical()
m_293633_()
public static LinearLayout
e()
horizontal()
method_52742()
horizontal()
m_295847_()