net.minecraft.client.gui.layouts

public class EqualSpacingLayout

extends AbstractLayout

All mapped superinterfaces:

Layout, LayoutElement

frr
net.minecraft.client.gui.layouts.EqualSpacingLayout
net.minecraft.class_7849
net.minecraft.client.gui.widget.AxisGridWidget

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a()
arrangeElements()
method_48222()
refreshPositions()
public void
b(Consumer<frw> arg0)
visitChildren(Consumer<LayoutElement> arg0)
method_48227(Consumer<class_8021> arg0)
forEachElement(Consumer<Widget> arg0)
public LayoutSettings
b()
newChildLayoutSettings()
method_46499()
copyPositioner()
public LayoutSettings
c()
defaultChildLayoutSetting()
method_46500()
getMainPositioner()
public <T extends LayoutElement> T
a(T arg0)
addChild(T arg0)
method_46495(T arg0)
add(T widget)
public <T extends LayoutElement> T
a(T arg0, frx arg1)
addChild(T arg0, LayoutSettings arg1)
method_46496(T arg0, class_7847 arg1)
add(T widget, Positioner positioner)
public <T extends LayoutElement> T
a(T arg0, Consumer<frx> arg1)
addChild(T arg0, Consumer<LayoutSettings> arg1)
method_52731(T arg0, Consumer<class_7847> arg1)
add(T widget, Consumer<Positioner> callback)