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 SummaryNested ClassesModifier and TypeClassDescription(package private) static classfinal classNested classes/interfaces inherited from class net.minecraft.client.gui.layouts.AbstractLayoutAbstractLayout.AbstractChildWrapper
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<GridLayout.CellInhabitant>private final List<LayoutElement>private intprivate final LayoutSettingsprivate intFields inherited from class net.minecraft.client.gui.layouts.AbstractLayoutheight, width
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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_) voidcolumnSpacing(int p_268135_) createRowHelper(int p_265327_) rowSpacing(int p_268237_) spacing(int p_268351_) voidvisitChildren(Consumer<LayoutElement> p_265389_) Methods inherited from class net.minecraft.client.gui.layouts.AbstractLayoutgetHeight, getWidth, getX, getY, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.layouts.LayoutvisitWidgetsMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElementgetRectangle, setPosition
- 
Field Details- 
children
- 
cellInhabitants
- 
defaultCellSettings
- 
rowSpacingprivate int rowSpacing
- 
columnSpacingprivate int columnSpacing
 
- 
- 
Constructor Details- 
GridLayoutpublic GridLayout()
- 
GridLayoutpublic GridLayout(int p_265045_, int p_265035_) 
 
- 
- 
Method Details- 
arrangeElementspublic void arrangeElements()
- 
addChild
- 
addChildpublic <T extends LayoutElement> T addChild(T p_265061_, int p_265080_, int p_265105_, LayoutSettings p_265057_) 
- 
addChildpublic <T extends LayoutElement> T addChild(T p_297804_, int p_298357_, int p_300223_, Consumer<LayoutSettings> p_299636_) 
- 
addChildpublic <T extends LayoutElement> T addChild(T p_265590_, int p_265556_, int p_265323_, int p_265531_, int p_265352_) 
- 
addChildpublic <T extends LayoutElement> T addChild(T p_265031_, int p_265582_, int p_265782_, int p_265612_, int p_265448_, LayoutSettings p_265579_) 
- 
addChildpublic <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
 
-