Class ThreePartsLayoutWidget

java.lang.Object
net.minecraft.client.gui.widget.ThreePartsLayoutWidget
All Implemented Interfaces:
LayoutWidget, Widget

@Environment(CLIENT) public class ThreePartsLayoutWidget extends Object implements LayoutWidget
Mappings:
Namespace Name
official err
intermediary net/minecraft/class_8132
named net/minecraft/client/gui/widget/ThreePartsLayoutWidget
  • Field Details

    • body

      private final SimplePositioningWidget body
      Mappings:
      Namespace Name Mixin selector
      official e Lerr;e:Lerp;
      intermediary field_42493 Lnet/minecraft/class_8132;field_42493:Lnet/minecraft/class_7843;
      named body Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;body:Lnet/minecraft/client/gui/widget/SimplePositioningWidget;
    • screen

      private final Screen screen
      Mappings:
      Namespace Name Mixin selector
      official f Lerr;f:Leua;
      intermediary field_42494 Lnet/minecraft/class_8132;field_42494:Lnet/minecraft/class_437;
      named screen Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;screen:Lnet/minecraft/client/gui/screen/Screen;
    • headerHeight

      private int headerHeight
      Mappings:
      Namespace Name Mixin selector
      official g Lerr;g:I
      intermediary field_42495 Lnet/minecraft/class_8132;field_42495:I
      named headerHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;headerHeight:I
    • footerHeight

      private int footerHeight
      Mappings:
      Namespace Name Mixin selector
      official h Lerr;h:I
      intermediary field_42496 Lnet/minecraft/class_8132;field_42496:I
      named footerHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;footerHeight:I
  • Constructor Details

    • ThreePartsLayoutWidget

      public ThreePartsLayoutWidget(Screen screen)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerr;<init>(Leua;)V
      intermediary <init> Lnet/minecraft/class_8132;<init>(Lnet/minecraft/class_437;)V
      named <init> Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
    • ThreePartsLayoutWidget

      public ThreePartsLayoutWidget(Screen screen, int headerFooterHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerr;<init>(Leua;I)V
      intermediary <init> Lnet/minecraft/class_8132;<init>(Lnet/minecraft/class_437;I)V
      named <init> Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;<init>(Lnet/minecraft/client/gui/screen/Screen;I)V
    • ThreePartsLayoutWidget

      public ThreePartsLayoutWidget(Screen screen, int headerHeight, int footerHeight)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerr;<init>(Leua;II)V
      intermediary <init> Lnet/minecraft/class_8132;<init>(Lnet/minecraft/class_437;II)V
      named <init> Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;<init>(Lnet/minecraft/client/gui/screen/Screen;II)V
  • Method Details

    • setX

      public void setX(int x)
      Specified by:
      setX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official e Lert;e(I)V
      intermediary method_46421 Lnet/minecraft/class_8021;method_46421(I)V
      named setX Lnet/minecraft/client/gui/widget/Widget;setX(I)V
    • setY

      public void setY(int y)
      Specified by:
      setY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official f Lert;f(I)V
      intermediary method_46419 Lnet/minecraft/class_8021;method_46419(I)V
      named setY Lnet/minecraft/client/gui/widget/Widget;setY(I)V
    • getX

      public int getX()
      Specified by:
      getX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official p Lert;p()I
      intermediary method_46426 Lnet/minecraft/class_8021;method_46426()I
      named getX Lnet/minecraft/client/gui/widget/Widget;getX()I
    • getY

      public int getY()
      Specified by:
      getY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official r Lert;r()I
      intermediary method_46427 Lnet/minecraft/class_8021;method_46427()I
      named getY Lnet/minecraft/client/gui/widget/Widget;getY()I
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official k Lert;k()I
      intermediary method_25368 Lnet/minecraft/class_8021;method_25368()I
      named getWidth Lnet/minecraft/client/gui/widget/Widget;getWidth()I
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official h Lert;h()I
      intermediary method_25364 Lnet/minecraft/class_8021;method_25364()I
      named getHeight Lnet/minecraft/client/gui/widget/Widget;getHeight()I
    • getFooterHeight

      public int getFooterHeight()
      Mappings:
      Namespace Name Mixin selector
      official a Lerr;a()I
      intermediary method_48994 Lnet/minecraft/class_8132;method_48994()I
      named getFooterHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;getFooterHeight()I
    • setFooterHeight

      public void setFooterHeight(int footerHeight)
      Mappings:
      Namespace Name Mixin selector
      official a Lerr;a(I)V
      intermediary method_48991 Lnet/minecraft/class_8132;method_48991(I)V
      named setFooterHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;setFooterHeight(I)V
    • setHeaderHeight

      public void setHeaderHeight(int headerHeight)
      Mappings:
      Namespace Name Mixin selector
      official b Lerr;b(I)V
      intermediary method_48995 Lnet/minecraft/class_8132;method_48995(I)V
      named setHeaderHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;setHeaderHeight(I)V
    • getHeaderHeight

      public int getHeaderHeight()
      Mappings:
      Namespace Name Mixin selector
      official b Lerr;b()I
      intermediary method_48998 Lnet/minecraft/class_8132;method_48998()I
      named getHeaderHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;getHeaderHeight()I
    • forEachElement

      public void forEachElement(Consumer<Widget> consumer)
      Specified by:
      forEachElement in interface LayoutWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lers;b(Ljava/util/function/Consumer;)V
      intermediary method_48227 Lnet/minecraft/class_8133;method_48227(Ljava/util/function/Consumer;)V
      named forEachElement Lnet/minecraft/client/gui/widget/LayoutWidget;forEachElement(Ljava/util/function/Consumer;)V
    • refreshPositions

      public void refreshPositions()
      Specified by:
      refreshPositions in interface LayoutWidget
      Mappings:
      Namespace Name Mixin selector
      official c Lers;c()V
      intermediary method_48222 Lnet/minecraft/class_8133;method_48222()V
      named refreshPositions Lnet/minecraft/client/gui/widget/LayoutWidget;refreshPositions()V
    • addHeader

      public <T extends Widget> T addHeader(T widget)
      Mappings:
      Namespace Name Mixin selector
      official a Lerr;a(Lert;)Lert;
      intermediary method_48992 Lnet/minecraft/class_8132;method_48992(Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021;
      named addHeader Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addHeader(Lnet/minecraft/client/gui/widget/Widget;)Lnet/minecraft/client/gui/widget/Widget;
    • addHeader

      public <T extends Widget> T addHeader(T widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official a Lerr;a(Lert;Leru;)Lert;
      intermediary method_48993 Lnet/minecraft/class_8132;method_48993(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
      named addHeader Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addHeader(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
    • addFooter

      public <T extends Widget> T addFooter(T widget)
      Mappings:
      Namespace Name Mixin selector
      official b Lerr;b(Lert;)Lert;
      intermediary method_48996 Lnet/minecraft/class_8132;method_48996(Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021;
      named addFooter Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addFooter(Lnet/minecraft/client/gui/widget/Widget;)Lnet/minecraft/client/gui/widget/Widget;
    • addFooter

      public <T extends Widget> T addFooter(T widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official b Lerr;b(Lert;Leru;)Lert;
      intermediary method_48997 Lnet/minecraft/class_8132;method_48997(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
      named addFooter Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addFooter(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
    • addBody

      public <T extends Widget> T addBody(T widget)
      Mappings:
      Namespace Name Mixin selector
      official c Lerr;c(Lert;)Lert;
      intermediary method_48999 Lnet/minecraft/class_8132;method_48999(Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021;
      named addBody Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addBody(Lnet/minecraft/client/gui/widget/Widget;)Lnet/minecraft/client/gui/widget/Widget;
    • addBody

      public <T extends Widget> T addBody(T widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official c Lerr;c(Lert;Leru;)Lert;
      intermediary method_49000 Lnet/minecraft/class_8132;method_49000(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
      named addBody Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addBody(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
    • copyHeaderPositioner

      public Positioner copyHeaderPositioner()
      Mappings:
      Namespace Name Mixin selector
      official d Lerr;d()Leru;
      intermediary method_49001 Lnet/minecraft/class_8132;method_49001()Lnet/minecraft/class_7847;
      named copyHeaderPositioner Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;copyHeaderPositioner()Lnet/minecraft/client/gui/widget/Positioner;
    • copyBodyPositioner

      public Positioner copyBodyPositioner()
      Mappings:
      Namespace Name Mixin selector
      official e Lerr;e()Leru;
      intermediary method_49002 Lnet/minecraft/class_8132;method_49002()Lnet/minecraft/class_7847;
      named copyBodyPositioner Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;copyBodyPositioner()Lnet/minecraft/client/gui/widget/Positioner;
    • copyFooterPositioner

      public Positioner copyFooterPositioner()
      Mappings:
      Namespace Name Mixin selector
      official f Lerr;f()Leru;
      intermediary method_49003 Lnet/minecraft/class_8132;method_49003()Lnet/minecraft/class_7847;
      named copyFooterPositioner Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;copyFooterPositioner()Lnet/minecraft/client/gui/widget/Positioner;