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
named net/minecraft/client/gui/widget/ThreePartsLayoutWidget
intermediary net/minecraft/class_8132
official frt
  • Field Details

    • body

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

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

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

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

    • ThreePartsLayoutWidget

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

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

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

    • setX

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

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

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

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

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

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

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

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

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

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

      public int getContentHeight()
      Mappings:
      Namespace Name Mixin selector
      named getContentHeight Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;getContentHeight()I
      intermediary method_57727 Lnet/minecraft/class_8132;method_57727()I
      official d Lfrt;d()I
    • forEachElement

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

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

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

      public <T extends Widget> T addHeader(T widget, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      named addHeader Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addHeader(Lnet/minecraft/client/gui/widget/Widget;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/Widget;
      intermediary method_48993 Lnet/minecraft/class_8132;method_48993(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      official a Lfrt;a(Lfrv;Ljava/util/function/Consumer;)Lfrv;
    • addHeader

      public void addHeader(Text text, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      named addHeader Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addHeader(Lnet/minecraft/text/Text;Lnet/minecraft/client/font/TextRenderer;)V
      intermediary method_57726 Lnet/minecraft/class_8132;method_57726(Lnet/minecraft/class_2561;Lnet/minecraft/class_327;)V
      official a Lfrt;a(Lxv;Lfnp;)V
    • addFooter

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

      public <T extends Widget> T addFooter(T widget, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      named addFooter Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addFooter(Lnet/minecraft/client/gui/widget/Widget;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/Widget;
      intermediary method_48997 Lnet/minecraft/class_8132;method_48997(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      official b Lfrt;b(Lfrv;Ljava/util/function/Consumer;)Lfrv;
    • addBody

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

      public <T extends Widget> T addBody(T widget, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      named addBody Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addBody(Lnet/minecraft/client/gui/widget/Widget;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/Widget;
      intermediary method_49000 Lnet/minecraft/class_8132;method_49000(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      official c Lfrt;c(Lfrv;Ljava/util/function/Consumer;)Lfrv;