net.minecraft.client.gui.layouts

public class GridLayout

extends AbstractLayout

All mapped superinterfaces:

Layout, LayoutElement

fap
net.minecraft.client.gui.layouts.GridLayout
net.minecraft.class_7845
net.minecraft.client.gui.widget.GridWidget
net.minecraft.src.C_263586_

Field summary

Modifier and TypeField
private final List<LayoutElement>
c
children
field_40771
children
f_263670_
private final List<GridLayout$CellInhabitant>
d
cellInhabitants
field_40772
grids
f_263660_
private final LayoutSettings
e
defaultCellSettings
field_40773
mainPositioner
f_263692_
private int
f
rowSpacing
field_42154
rowSpacing
f_267432_
private int
g
columnSpacing
field_42155
columnSpacing
f_267488_

Constructor summary

ModifierConstructor
public ()
public (int x, int y)

Method summary

Modifier and TypeMethod
public void
a()
arrangeElements()
method_48222()
refreshPositions()
m_264036_()
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2)
addChild(T arg0, int arg1, int arg2)
method_46452(T arg0, int arg1, int arg2)
add(T widget, int row, int column)
m_264379_(T p_265720_, int p_265679_, int arg2)
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2, fat arg3)
addChild(T arg0, int arg1, int arg2, LayoutSettings arg3)
method_46455(T arg0, int arg1, int arg2, class_7847 arg3)
add(T widget, int row, int column, Positioner positioner)
m_264075_(T p_265080_, int p_265105_, int p_265057_, C_263611_ arg3)
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2, Consumer<fat> arg3)
addChild(T arg0, int arg1, int arg2, Consumer<LayoutSettings> arg3)
method_52734(T arg0, int arg1, int arg2, Consumer<class_7847> arg3)
add(T widget, int row, int column, Consumer<Positioner> callback)
m_294434_(T p_298357_, int p_300223_, int p_299636_, Consumer<C_263611_> arg3)
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2, int arg3, int arg4)
addChild(T arg0, int arg1, int arg2, int arg3, int arg4)
method_46453(T arg0, int arg1, int arg2, int arg3, int arg4)
add(T widget, int row, int column, int occupiedRows, int occupiedColumns)
m_264188_(T p_265556_, int p_265323_, int p_265531_, int p_265352_, int arg4)
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2, int arg3, int arg4, fat arg5)
addChild(T arg0, int arg1, int arg2, int arg3, int arg4, LayoutSettings arg5)
method_46454(T arg0, int arg1, int arg2, int arg3, int arg4, class_7847 arg5)
add(T widget, int row, int column, int occupiedRows, int occupiedColumns, Positioner positioner)
m_264167_(T p_265582_, int p_265782_, int p_265612_, int p_265448_, int p_265579_, C_263611_ arg5)
public <T extends LayoutElement> T
a(T arg0, int arg1, int arg2, int arg3, int arg4, Consumer<fat> arg5)
addChild(T arg0, int arg1, int arg2, int arg3, int arg4, Consumer<LayoutSettings> arg5)
method_52733(T arg0, int arg1, int arg2, int arg3, int arg4, Consumer<class_7847> arg5)
add(T widget, int row, int column, int occupiedBelow, int occupiedAbove, Consumer<Positioner> callback)
m_293777_(T p_298560_, int p_297873_, int p_297702_, int p_298330_, int p_301225_, Consumer<C_263611_> arg5)
public GridLayout
a(int arg0)
columnSpacing(int arg0)
method_48635(int arg0)
setColumnSpacing(int columnSpacing)
m_267749_(int arg0)
public GridLayout
b(int arg0)
rowSpacing(int arg0)
method_48636(int arg0)
setRowSpacing(int rowSpacing)
m_267750_(int arg0)
public GridLayout
c(int arg0)
spacing(int arg0)
method_48637(int arg0)
setSpacing(int spacing)
m_267612_(int arg0)
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()
newCellSettings()
method_46457()
copyPositioner()
m_264626_()
public LayoutSettings
c()
defaultCellSetting()
method_46458()
getMainPositioner()
m_264211_()
public GridLayout$RowHelper
d(int arg0)
createRowHelper(int arg0)
method_47610(int arg0)
createAdder(int columns)
m_264606_(int arg0)