Package net.minecraft.client.gui.widget
Class ThreePartsLayoutWidget
java.lang.Object
net.minecraft.client.gui.widget.ThreePartsLayoutWidget
- All Implemented Interfaces:
LayoutWidget
,Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/ThreePartsLayoutWidget
intermediary net/minecraft/class_8132
official flz
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SimplePositioningWidget
static final int
private final SimplePositioningWidget
private static final int
private int
private final SimplePositioningWidget
private int
private final Screen
-
Constructor Summary
ConstructorDescriptionThreePartsLayoutWidget
(Screen screen) ThreePartsLayoutWidget
(Screen screen, int headerFooterHeight) ThreePartsLayoutWidget
(Screen screen, int headerHeight, int footerHeight) -
Method Summary
Modifier and TypeMethodDescription<T extends Widget>
TaddBody
(T widget) <T extends Widget>
TaddBody
(T widget, Consumer<Positioner> callback) <T extends Widget>
TaddFooter
(T widget) <T extends Widget>
TaddFooter
(T widget, Consumer<Positioner> callback) void
addHeader
(Text text, TextRenderer textRenderer) <T extends Widget>
TaddHeader
(T widget) <T extends Widget>
TaddHeader
(T widget, Consumer<Positioner> callback) void
forEachElement
(Consumer<Widget> consumer) int
int
int
int
int
getWidth()
int
getX()
int
getY()
void
void
setFooterHeight
(int footerHeight) void
setHeaderHeight
(int headerHeight) void
setX
(int x) void
setY
(int y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.widget.LayoutWidget
forEachChild
Methods inherited from interface net.minecraft.client.gui.widget.Widget
getNavigationFocus, setPosition
-
Field Details
-
DEFAULT_HEADER_FOOTER_HEIGHT
public static final int DEFAULT_HEADER_FOOTER_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_HEADER_FOOTER_HEIGHT
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;DEFAULT_HEADER_FOOTER_HEIGHT:I
intermediary field_42490
Lnet/minecraft/class_8132;field_42490:I
official a
Lflz;a:I
-
FOOTER_MARGIN_TOP
private static final int FOOTER_MARGIN_TOP- See Also:
- Mappings:
Namespace Name Mixin selector named FOOTER_MARGIN_TOP
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;FOOTER_MARGIN_TOP:I
intermediary field_43136
Lnet/minecraft/class_8132;field_43136:I
official b
Lflz;b:I
-
header
- Mappings:
Namespace Name Mixin selector named header
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;header:Lnet/minecraft/client/gui/widget/SimplePositioningWidget;
intermediary field_42491
Lnet/minecraft/class_8132;field_42491:Lnet/minecraft/class_7843;
official c
Lflz;c:Lflx;
-
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
Lflz;e:Lflx;
-
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
Lflz;f:Lfod;
-
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
Lflz;g:I
-
-
Constructor Details
-
ThreePartsLayoutWidget
- 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>
Lflz;<init>(Lfod;)V
-
ThreePartsLayoutWidget
- 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>
Lflz;<init>(Lfod;I)V
-
ThreePartsLayoutWidget
- 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>
Lflz;<init>(Lfod;II)V
-
-
Method Details
-
setX
public void setX(int x) -
setY
public void setY(int y) -
getX
public int getX() -
getY
public int getY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
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
Lflz;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
Lflz;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
Lflz;d()I
-
forEachElement
- Specified by:
forEachElement
in interfaceLayoutWidget
- 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
Lfma;b(Ljava/util/function/Consumer;)V
-
refreshPositions
public void refreshPositions()- Specified by:
refreshPositions
in interfaceLayoutWidget
- 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
Lfma;a()V
-
addHeader
- 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
Lflz;a(Lfmb;)Lfmb;
-
addHeader
- 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
Lflz;a(Lfmb;Ljava/util/function/Consumer;)Lfmb;
-
addHeader
- 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
Lflz;a(Lwz;Lfhx;)V
-
addBody
- 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
Lflz;c(Lfmb;)Lfmb;
-
addBody
- 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
Lflz;c(Lfmb;Ljava/util/function/Consumer;)Lfmb;
-