Class GridLayout

java.lang.Object
net.minecraft.client.gui.layouts.AbstractLayout
net.minecraft.client.gui.layouts.GridLayout
All Implemented Interfaces:
Layout, LayoutElement

public class GridLayout extends AbstractLayout
  • Field Details

  • Constructor Details

    • GridLayout

      public GridLayout()
    • GridLayout

      public GridLayout(int p_265045_, int p_265035_)
  • Method Details

    • arrangeElements

      public void arrangeElements()
    • addChild

      public <T extends LayoutElement> T addChild(T p_265485_, int p_265720_, int p_265679_)
    • 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

      public GridLayout columnSpacing(int p_268135_)
    • rowSpacing

      public GridLayout rowSpacing(int p_268237_)
    • spacing

      public GridLayout spacing(int p_268351_)
    • visitChildren

      public void visitChildren(Consumer<LayoutElement> p_265389_)
    • newCellSettings

      public LayoutSettings newCellSettings()
    • defaultCellSetting

      public LayoutSettings defaultCellSetting()
    • createRowHelper

      public GridLayout.RowHelper createRowHelper(int p_265327_)