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
named net/minecraft/client/gui/widget/EmptyWidget
intermediary net/minecraft/class_7852
official fry
  • 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

      public static EmptyWidget ofWidth(int width)
      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

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

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

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

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

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

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

      public void forEachChild(Consumer<ClickableWidget> consumer)
      Specified by:
      forEachChild in interface Widget
      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