Class EmptyWidget

java.lang.Object
net.minecraft.client.gui.widget.EmptyWidget
All Implemented Interfaces:
Widget

@Environment(CLIENT) public class EmptyWidget extends Object implements Widget
Mappings:
Namespace Name
official ewe
intermediary net/minecraft/class_7852
named net/minecraft/client/gui/widget/EmptyWidget
  • Field Details

    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      official a Lewe;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 Lewe;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 Lewe;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 Lewe;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> Lewe;<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> Lewe;<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

      public static EmptyWidget ofWidth(int width)
      Mappings:
      Namespace Name Mixin selector
      official a Lewe;a(I)Lewe;
      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

      public static EmptyWidget ofHeight(int height)
      Mappings:
      Namespace Name Mixin selector
      official b Lewe;b(I)Lewe;
      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)
      Specified by:
      setX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official f Lewb;f(I)V
      intermediary method_46421 Lnet/minecraft/class_8021;method_46421(I)V
      named setX Lnet/minecraft/client/gui/widget/Widget;setX(I)V
    • setY

      public void setY(int y)
      Specified by:
      setY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official g Lewb;g(I)V
      intermediary method_46419 Lnet/minecraft/class_8021;method_46419(I)V
      named setY Lnet/minecraft/client/gui/widget/Widget;setY(I)V
    • getX

      public int getX()
      Specified by:
      getX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official r Lewb;r()I
      intermediary method_46426 Lnet/minecraft/class_8021;method_46426()I
      named getX Lnet/minecraft/client/gui/widget/Widget;getX()I
    • getY

      public int getY()
      Specified by:
      getY in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official t Lewb;t()I
      intermediary method_46427 Lnet/minecraft/class_8021;method_46427()I
      named getY Lnet/minecraft/client/gui/widget/Widget;getY()I
    • getWidth

      public int getWidth()
      Specified by:
      getWidth in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official l Lewb;l()I
      intermediary method_25368 Lnet/minecraft/class_8021;method_25368()I
      named getWidth Lnet/minecraft/client/gui/widget/Widget;getWidth()I
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official i Lewb;i()I
      intermediary method_25364 Lnet/minecraft/class_8021;method_25364()I
      named getHeight Lnet/minecraft/client/gui/widget/Widget;getHeight()I
    • forEachChild

      public void forEachChild(Consumer<ClickableWidget> consumer)
      Specified by:
      forEachChild in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official a Lewb;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