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 fkt
  • 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 Lfkt;e:Lfkr;
    • 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 Lfkt;f:Lfnf;
    • 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 Lfkt;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 Lfkt;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> Lfkt;<init>(Lfnf;)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> Lfkt;<init>(Lfnf;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> Lfkt;<init>(Lfnf;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 m Lfkv;m(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 n Lfkv;n(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 C Lfkv;C()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 D Lfkv;D()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 x Lfkv;x()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 v Lfkv;v()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 Lfkt;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 Lfkt;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 Lfkt;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 Lfkt;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 Lfkt;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 Lfku;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 Lfku;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 Lfkt;a(Lfkv;)Lfkv;
    • 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 Lfkt;a(Lfkv;Ljava/util/function/Consumer;)Lfkv;
    • 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 Lfkt;a(Lxp;Lfgr;)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 Lfkt;b(Lfkv;)Lfkv;
    • 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 Lfkt;b(Lfkv;Ljava/util/function/Consumer;)Lfkv;
    • 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 Lfkt;c(Lfkv;)Lfkv;
    • 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 Lfkt;c(Lfkv;Ljava/util/function/Consumer;)Lfkv;