Package net.minecraft.client.gui.layouts
Class GridLayout
java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
net.minecraft.client.gui.layouts.GridLayout
- All Implemented Interfaces:
Layout
,LayoutElement
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
final class
Nested classes/interfaces inherited from class net.minecraft.client.gui.layouts.AbstractLayout
AbstractLayout.AbstractChildWrapper
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<GridLayout.CellInhabitant> private final List
<LayoutElement> private int
private final LayoutSettings
private int
Fields inherited from class net.minecraft.client.gui.layouts.AbstractLayout
height, width
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends LayoutElement>
TaddChild
(T p_265485_, int p_265720_, int p_265679_) <T extends LayoutElement>
TaddChild
(T p_265590_, int p_265556_, int p_265323_, int p_265531_, int p_265352_) <T extends LayoutElement>
TaddChild
(T p_299753_, int p_298560_, int p_297873_, int p_297702_, int p_298330_, Consumer<LayoutSettings> p_301225_) <T extends LayoutElement>
TaddChild
(T p_265031_, int p_265582_, int p_265782_, int p_265612_, int p_265448_, LayoutSettings p_265579_) <T extends LayoutElement>
TaddChild
(T p_297804_, int p_298357_, int p_300223_, Consumer<LayoutSettings> p_299636_) <T extends LayoutElement>
TaddChild
(T p_265061_, int p_265080_, int p_265105_, LayoutSettings p_265057_) void
columnSpacing
(int p_268135_) createRowHelper
(int p_265327_) rowSpacing
(int p_268237_) spacing
(int p_268351_) void
visitChildren
(Consumer<LayoutElement> p_265389_) Methods inherited from class net.minecraft.client.gui.layouts.AbstractLayout
getHeight, getWidth, getX, getY, setX, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.layouts.Layout
visitWidgets
Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
getRectangle, setPosition
-
Field Details
-
children
-
cellInhabitants
-
defaultCellSettings
-
rowSpacing
private int rowSpacing -
columnSpacing
private int columnSpacing
-
-
Constructor Details
-
GridLayout
public GridLayout() -
GridLayout
public GridLayout(int p_265045_, int p_265035_)
-
-
Method Details
-
arrangeElements
public void arrangeElements() -
addChild
-
addChild
public <T extends LayoutElement> T addChild(T p_265061_, int p_265080_, int p_265105_, LayoutSettings p_265057_) -
addChild
public <T extends LayoutElement> T addChild(T p_297804_, int p_298357_, int p_300223_, Consumer<LayoutSettings> p_299636_) -
addChild
public <T extends LayoutElement> T addChild(T p_265590_, int p_265556_, int p_265323_, int p_265531_, int p_265352_) -
addChild
public <T extends LayoutElement> T addChild(T p_265031_, int p_265582_, int p_265782_, int p_265612_, int p_265448_, LayoutSettings p_265579_) -
addChild
public <T extends LayoutElement> T addChild(T p_299753_, int p_298560_, int p_297873_, int p_297702_, int p_298330_, Consumer<LayoutSettings> p_301225_) -
columnSpacing
-
rowSpacing
-
spacing
-
visitChildren
-
newCellSettings
-
defaultCellSetting
-
createRowHelper
-