Class FrameLayout

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

public class FrameLayout extends AbstractLayout
  • Field Details

  • Constructor Details

    • FrameLayout

      public FrameLayout()
    • FrameLayout

      public FrameLayout(int p_270073_, int p_270705_)
    • FrameLayout

      public FrameLayout(int p_265719_, int p_265042_, int p_265587_, int p_265682_)
  • Method Details

    • setMinDimensions

      public FrameLayout setMinDimensions(int p_265169_, int p_265616_)
    • setMinHeight

      public FrameLayout setMinHeight(int p_265646_)
    • setMinWidth

      public FrameLayout setMinWidth(int p_265764_)
    • newChildLayoutSettings

      public LayoutSettings newChildLayoutSettings()
    • defaultChildLayoutSetting

      public LayoutSettings defaultChildLayoutSetting()
    • arrangeElements

      public void arrangeElements()
    • addChild

      public <T extends LayoutElement> T addChild(T p_265071_)
    • addChild

      public <T extends LayoutElement> T addChild(T p_265386_, LayoutSettings p_265532_)
    • visitChildren

      public void visitChildren(Consumer<LayoutElement> p_265070_)
    • centerInRectangle

      public static void centerInRectangle(LayoutElement p_265197_, int p_265518_, int p_265334_, int p_265540_, int p_265632_)
    • centerInRectangle

      public static void centerInRectangle(LayoutElement p_268229_, ScreenRectangle p_268113_)
    • alignInRectangle

      public static void alignInRectangle(LayoutElement p_275320_, ScreenRectangle p_275389_, float p_275607_, float p_275662_)
    • alignInRectangle

      public static void alignInRectangle(LayoutElement p_265662_, int p_265497_, int p_265030_, int p_265535_, int p_265427_, float p_265271_, float p_265365_)
    • alignInDimension

      public static void alignInDimension(int p_265164_, int p_265100_, int p_265351_, Consumer<Integer> p_265614_, float p_265428_)