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 frt
-
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
Lfrt;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
Lfrt;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
Lfrt;c:Lfrr;
-
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
- 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
-
-
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>
Lfrt;<init>(Lftx;)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>
Lfrt;<init>(Lftx;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>
Lfrt;<init>(Lftx;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
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
- 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
Lfru;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
Lfru;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
Lfrt;a(Lfrv;)Lfrv;
-
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
Lfrt;a(Lfrv;Ljava/util/function/Consumer;)Lfrv;
-
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
Lfrt;a(Lxv;Lfnp;)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
Lfrt;c(Lfrv;)Lfrv;
-
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
Lfrt;c(Lfrv;Ljava/util/function/Consumer;)Lfrv;
-