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 official evz
intermediary net/minecraft/class_8132
named net/minecraft/client/gui/widget/ThreePartsLayoutWidget
-
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) <T extends Widget>
TaddHeader
(T widget) <T extends Widget>
TaddHeader
(T widget, Consumer<Positioner> callback) void
forEachElement
(Consumer<Widget> consumer) 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 official a
Levz;a:I
intermediary field_42490
Lnet/minecraft/class_8132;field_42490:I
named DEFAULT_HEADER_FOOTER_HEIGHT
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;DEFAULT_HEADER_FOOTER_HEIGHT:I
-
FOOTER_MARGIN_TOP
private static final int FOOTER_MARGIN_TOP- See Also:
- Mappings:
Namespace Name Mixin selector official b
Levz;b:I
intermediary field_43136
Lnet/minecraft/class_8132;field_43136:I
named FOOTER_MARGIN_TOP
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;FOOTER_MARGIN_TOP:I
-
header
- Mappings:
Namespace Name Mixin selector official c
Levz;c:Levx;
intermediary field_42491
Lnet/minecraft/class_8132;field_42491:Lnet/minecraft/class_7843;
named header
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;header:Lnet/minecraft/client/gui/widget/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
- 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
-
-
Constructor Details
-
ThreePartsLayoutWidget
- 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
- 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
- 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) -
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 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
- Specified by:
forEachElement
in interfaceLayoutWidget
- 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 interfaceLayoutWidget
- 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
- 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
- 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;
-
addBody
- 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
- 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;
-