Package net.minecraft.client.gui.widget
Class EmptyWidget
java.lang.Object
net.minecraft.client.gui.widget.EmptyWidget
- All Implemented Interfaces:
Widget
- Mappings:
Namespace Name official esc
intermediary net/minecraft/class_7852
named net/minecraft/client/gui/widget/EmptyWidget
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEmptyWidget
(int width, int height) EmptyWidget
(int x, int y, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachChild
(Consumer<ClickableWidget> consumer) int
int
getWidth()
int
getX()
int
getY()
static EmptyWidget
ofHeight
(int height) static EmptyWidget
ofWidth
(int width) 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.Widget
getNavigationFocus, setPosition
-
Field Details
-
x
private int x- Mappings:
Namespace Name Mixin selector official a
Lesc;a:I
intermediary field_41818
Lnet/minecraft/class_7852;field_41818:I
named x
Lnet/minecraft/client/gui/widget/EmptyWidget;x:I
-
y
private int y- Mappings:
Namespace Name Mixin selector official b
Lesc;b:I
intermediary field_41819
Lnet/minecraft/class_7852;field_41819:I
named y
Lnet/minecraft/client/gui/widget/EmptyWidget;y:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector official c
Lesc;c:I
intermediary field_41820
Lnet/minecraft/class_7852;field_41820:I
named width
Lnet/minecraft/client/gui/widget/EmptyWidget;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official d
Lesc;d:I
intermediary field_41821
Lnet/minecraft/class_7852;field_41821:I
named height
Lnet/minecraft/client/gui/widget/EmptyWidget;height:I
-
-
Constructor Details
-
EmptyWidget
public EmptyWidget(int width, int height) - Mappings:
Namespace Name Mixin selector official <init>
Lesc;<init>(II)V
intermediary <init>
Lnet/minecraft/class_7852;<init>(II)V
named <init>
Lnet/minecraft/client/gui/widget/EmptyWidget;<init>(II)V
-
EmptyWidget
public EmptyWidget(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector official <init>
Lesc;<init>(IIII)V
intermediary <init>
Lnet/minecraft/class_7852;<init>(IIII)V
named <init>
Lnet/minecraft/client/gui/widget/EmptyWidget;<init>(IIII)V
-
-
Method Details
-
ofWidth
- Mappings:
Namespace Name Mixin selector official a
Lesc;a(I)Lesc;
intermediary method_46512
Lnet/minecraft/class_7852;method_46512(I)Lnet/minecraft/class_7852;
named ofWidth
Lnet/minecraft/client/gui/widget/EmptyWidget;ofWidth(I)Lnet/minecraft/client/gui/widget/EmptyWidget;
-
ofHeight
- Mappings:
Namespace Name Mixin selector official b
Lesc;b(I)Lesc;
intermediary method_46513
Lnet/minecraft/class_7852;method_46513(I)Lnet/minecraft/class_7852;
named ofHeight
Lnet/minecraft/client/gui/widget/EmptyWidget;ofHeight(I)Lnet/minecraft/client/gui/widget/EmptyWidget;
-
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() -
forEachChild
- Specified by:
forEachChild
in interfaceWidget
- Mappings:
Namespace Name Mixin selector official a
Lerz;a(Ljava/util/function/Consumer;)V
intermediary method_48206
Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)V
named forEachChild
Lnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)V
-