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/EmptyWidgetintermediary net/minecraft/class_7852official fot
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEmptyWidget(int width, int height) EmptyWidget(int x, int y, int width, int height) -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachChild(Consumer<ClickableWidget> consumer) intintgetWidth()intgetX()intgetY()static EmptyWidgetofHeight(int height) static EmptyWidgetofWidth(int width) voidsetX(int x) voidsetY(int y) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.widget.Widget
getNavigationFocus, setPosition
-
Field Details
-
x
private int x- Mappings:
Namespace Name Mixin selector named xLnet/minecraft/client/gui/widget/EmptyWidget;x:Iintermediary field_41818Lnet/minecraft/class_7852;field_41818:Iofficial aLfot;a:I
-
y
private int y- Mappings:
Namespace Name Mixin selector named yLnet/minecraft/client/gui/widget/EmptyWidget;y:Iintermediary field_41819Lnet/minecraft/class_7852;field_41819:Iofficial bLfot;b:I
-
width
private final int width- Mappings:
Namespace Name Mixin selector named widthLnet/minecraft/client/gui/widget/EmptyWidget;width:Iintermediary field_41820Lnet/minecraft/class_7852;field_41820:Iofficial cLfot;c:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector named heightLnet/minecraft/client/gui/widget/EmptyWidget;height:Iintermediary field_41821Lnet/minecraft/class_7852;field_41821:Iofficial dLfot;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)Vintermediary <init>Lnet/minecraft/class_7852;<init>(II)Vofficial <init>Lfot;<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)Vintermediary <init>Lnet/minecraft/class_7852;<init>(IIII)Vofficial <init>Lfot;<init>(IIII)V
-
-
Method Details
-
ofWidth
- Mappings:
Namespace Name Mixin selector named ofWidthLnet/minecraft/client/gui/widget/EmptyWidget;ofWidth(I)Lnet/minecraft/client/gui/widget/EmptyWidget;intermediary method_46512Lnet/minecraft/class_7852;method_46512(I)Lnet/minecraft/class_7852;official aLfot;a(I)Lfot;
-
ofHeight
- Mappings:
Namespace Name Mixin selector named ofHeightLnet/minecraft/client/gui/widget/EmptyWidget;ofHeight(I)Lnet/minecraft/client/gui/widget/EmptyWidget;intermediary method_46513Lnet/minecraft/class_7852;method_46513(I)Lnet/minecraft/class_7852;official bLfot;b(I)Lfot;
-
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:
forEachChildin interfaceWidget- Mappings:
Namespace Name Mixin selector named forEachChildLnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)Vintermediary method_48206Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)Vofficial aLfop;a(Ljava/util/function/Consumer;)V
-