Package net.minecraft.client.gui.widget
Class EmptyWidget
java.lang.Object
net.minecraft.client.gui.widget.EmptyWidget
- All Implemented Interfaces:
Widget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/EmptyWidget
intermediary net/minecraft/class_7852
official fry
-
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 named x
Lnet/minecraft/client/gui/widget/EmptyWidget;x:I
intermediary field_41818
Lnet/minecraft/class_7852;field_41818:I
official a
Lfry;a:I
-
y
private int y- Mappings:
Namespace Name Mixin selector named y
Lnet/minecraft/client/gui/widget/EmptyWidget;y:I
intermediary field_41819
Lnet/minecraft/class_7852;field_41819:I
official b
Lfry;b:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector named width
Lnet/minecraft/client/gui/widget/EmptyWidget;width:I
intermediary field_41820
Lnet/minecraft/class_7852;field_41820:I
official c
Lfry;c:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector named height
Lnet/minecraft/client/gui/widget/EmptyWidget;height:I
intermediary field_41821
Lnet/minecraft/class_7852;field_41821:I
official d
Lfry;d:I
-
-
Constructor Details
-
EmptyWidget
public EmptyWidget(int width, int height) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/EmptyWidget;<init>(II)V
intermediary <init>
Lnet/minecraft/class_7852;<init>(II)V
official <init>
Lfry;<init>(II)V
-
EmptyWidget
public EmptyWidget(int x, int y, int width, int height) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/widget/EmptyWidget;<init>(IIII)V
intermediary <init>
Lnet/minecraft/class_7852;<init>(IIII)V
official <init>
Lfry;<init>(IIII)V
-
-
Method Details
-
ofWidth
- Mappings:
Namespace Name Mixin selector named ofWidth
Lnet/minecraft/client/gui/widget/EmptyWidget;ofWidth(I)Lnet/minecraft/client/gui/widget/EmptyWidget;
intermediary method_46512
Lnet/minecraft/class_7852;method_46512(I)Lnet/minecraft/class_7852;
official a
Lfry;a(I)Lfry;
-
ofHeight
- Mappings:
Namespace Name Mixin selector named ofHeight
Lnet/minecraft/client/gui/widget/EmptyWidget;ofHeight(I)Lnet/minecraft/client/gui/widget/EmptyWidget;
intermediary method_46513
Lnet/minecraft/class_7852;method_46513(I)Lnet/minecraft/class_7852;
official b
Lfry;b(I)Lfry;
-
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 named forEachChild
Lnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)V
intermediary method_48206
Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)V
official a
Lfrv;a(Ljava/util/function/Consumer;)V
-