Class WrapperWidget

java.lang.Object
net.minecraft.client.gui.widget.WrapperWidget
All Implemented Interfaces:
LayoutWidget, Widget
Direct Known Subclasses:
AxisGridWidget, GridWidget, SimplePositioningWidget

@Environment(CLIENT) public abstract class WrapperWidget extends Object implements LayoutWidget
Mappings:
Namespace Name
official ero
intermediary net/minecraft/class_7838
named net/minecraft/client/gui/widget/WrapperWidget
  • Field Details

    • x

      private int x
      Mappings:
      Namespace Name Mixin selector
      official c Lero;c:I
      intermediary field_41815 Lnet/minecraft/class_7838;field_41815:I
      named x Lnet/minecraft/client/gui/widget/WrapperWidget;x:I
    • y

      private int y
      Mappings:
      Namespace Name Mixin selector
      official d Lero;d:I
      intermediary field_41816 Lnet/minecraft/class_7838;field_41816:I
      named y Lnet/minecraft/client/gui/widget/WrapperWidget;y:I
    • width

      protected int width
      Mappings:
      Namespace Name Mixin selector
      official a Lero;a:I
      intermediary field_41813 Lnet/minecraft/class_7838;field_41813:I
      named width Lnet/minecraft/client/gui/widget/WrapperWidget;width:I
    • height

      protected int height
      Mappings:
      Namespace Name Mixin selector
      official b Lero;b:I
      intermediary field_41814 Lnet/minecraft/class_7838;field_41814:I
      named height Lnet/minecraft/client/gui/widget/WrapperWidget;height:I
  • Constructor Details

    • WrapperWidget

      public WrapperWidget(int x, int y, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lero;<init>(IIII)V
      intermediary <init> Lnet/minecraft/class_7838;<init>(IIII)V
      named <init> Lnet/minecraft/client/gui/widget/WrapperWidget;<init>(IIII)V
  • Method Details

    • setX

      public void setX(int x)
      Specified by:
      setX in interface Widget
      Mappings:
      Namespace Name Mixin selector
      official e Lert;e(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 f Lert;f(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 p Lert;p()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 r Lert;r()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 k Lert;k()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 h Lert;h()I
      intermediary method_25364 Lnet/minecraft/class_8021;method_25364()I
      named getHeight Lnet/minecraft/client/gui/widget/Widget;getHeight()I