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 evz
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 Levz;e:Levx;
      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 Levz;f:Leyk;
      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 Levz;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 Levz;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> Levz;<init>(Leyk;)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> Levz;<init>(Leyk;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> Levz;<init>(Leyk;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 f Lewb;f(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 g Lewb;g(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 r Lewb;r()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 t Lewb;t()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 l Lewb;l()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 i Lewb;i()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 b Levz;b()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 Levz;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 Levz;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 c Levz;c()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 Lewa;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 a Lewa;a()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 Levz;a(Lewb;)Lewb;
      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, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      official a Levz;a(Lewb;Ljava/util/function/Consumer;)Lewb;
      intermediary method_48993 Lnet/minecraft/class_8132;method_48993(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      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;
    • addFooter

      public <T extends Widget> T addFooter(T widget)
      Mappings:
      Namespace Name Mixin selector
      official b Levz;b(Lewb;)Lewb;
      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, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      official b Levz;b(Lewb;Ljava/util/function/Consumer;)Lewb;
      intermediary method_48997 Lnet/minecraft/class_8132;method_48997(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      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;
    • addBody

      public <T extends Widget> T addBody(T widget)
      Mappings:
      Namespace Name Mixin selector
      official c Levz;c(Lewb;)Lewb;
      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, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      official c Levz;c(Lewb;Ljava/util/function/Consumer;)Lewb;
      intermediary method_49000 Lnet/minecraft/class_8132;method_49000(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      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;