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 err
intermediary net/minecraft/class_8132
named net/minecraft/client/gui/widget/ThreePartsLayoutWidget
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SimplePositioningWidget
private 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, Positioner positioner) <T extends Widget>
TaddFooter
(T widget) <T extends Widget>
TaddFooter
(T widget, Positioner positioner) <T extends Widget>
TaddHeader
(T widget) <T extends Widget>
TaddHeader
(T widget, Positioner positioner) 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
private static final int DEFAULT_HEADER_FOOTER_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lerr;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
Lerr;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
Lerr;c:Lerp;
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
Lerr;e:Lerp;
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
Lerr;f:Leua;
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
Lerr;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>
Lerr;<init>(Leua;)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>
Lerr;<init>(Leua;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>
Lerr;<init>(Leua;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
Lerr;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 b
Lerr;b()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
Lers;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 c
Lers;c()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
Lerr;a(Lert;)Lert;
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
Lerr;a(Lert;Leru;)Lert;
intermediary method_48993
Lnet/minecraft/class_8132;method_48993(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
named addHeader
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addHeader(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
-
addBody
- Mappings:
Namespace Name Mixin selector official c
Lerr;c(Lert;)Lert;
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
Lerr;c(Lert;Leru;)Lert;
intermediary method_49000
Lnet/minecraft/class_8132;method_49000(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
named addBody
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;addBody(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
-
copyHeaderPositioner
- Mappings:
Namespace Name Mixin selector official d
Lerr;d()Leru;
intermediary method_49001
Lnet/minecraft/class_8132;method_49001()Lnet/minecraft/class_7847;
named copyHeaderPositioner
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;copyHeaderPositioner()Lnet/minecraft/client/gui/widget/Positioner;
-
copyBodyPositioner
- Mappings:
Namespace Name Mixin selector official e
Lerr;e()Leru;
intermediary method_49002
Lnet/minecraft/class_8132;method_49002()Lnet/minecraft/class_7847;
named copyBodyPositioner
Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;copyBodyPositioner()Lnet/minecraft/client/gui/widget/Positioner;
-