net.minecraft.client.gui.layouts

public class EqualSpacingLayout

extends AbstractLayout

All mapped superinterfaces:

Layout, LayoutElement

fan
net.minecraft.client.gui.layouts.EqualSpacingLayout
net.minecraft.class_7849
net.minecraft.client.gui.widget.AxisGridWidget
net.minecraft.src.C_290205_

Field summary

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

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()
m_264036_()
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 LayoutSettings
b()
newChildLayoutSettings()
method_46499()
copyPositioner()
m_295910_()
public LayoutSettings
c()
defaultChildLayoutSetting()
method_46500()
getMainPositioner()
m_294849_()
public <T extends LayoutElement> T
a(T arg0)
addChild(T arg0)
method_46495(T arg0)
add(T widget)
m_295803_(T arg0)
public <T extends LayoutElement> T
a(T arg0, fat arg1)
addChild(T arg0, LayoutSettings arg1)
method_46496(T arg0, class_7847 arg1)
add(T widget, Positioner positioner)
m_293548_(T p_301383_, C_263611_ arg1)
public <T extends LayoutElement> T
a(T arg0, Consumer<fat> arg1)
addChild(T arg0, Consumer<LayoutSettings> arg1)
method_52731(T arg0, Consumer<class_7847> arg1)
add(T widget, Consumer<Positioner> callback)
m_293087_(T p_297917_, Consumer<C_263611_> arg1)