Class WrapperWidget.WrappedElement

java.lang.Object
net.minecraft.client.gui.widget.WrapperWidget.WrappedElement
Direct Known Subclasses:
AxisGridWidget.Element, GridWidget.Element, SimplePositioningWidget.Element
Enclosing class:
WrapperWidget

@Environment(CLIENT) protected abstract static class WrapperWidget.WrappedElement extends Object
Mappings:
Namespace Name
official ero$a
intermediary net/minecraft/class_7838$class_7839
named net/minecraft/client/gui/widget/WrapperWidget$WrappedElement
  • Field Details

    • widget

      public final Widget widget
      Mappings:
      Namespace Name Mixin selector
      official a Lero$a;a:Lert;
      intermediary field_40752 Lnet/minecraft/class_7838$class_7839;field_40752:Lnet/minecraft/class_8021;
      named widget Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;widget:Lnet/minecraft/client/gui/widget/Widget;
    • positioner

      public final Positioner.Impl positioner
      Mappings:
      Namespace Name Mixin selector
      official b Lero$a;b:Leru$a;
      intermediary field_40753 Lnet/minecraft/class_7838$class_7839;field_40753:Lnet/minecraft/class_7847$class_7848;
      named positioner Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;positioner:Lnet/minecraft/client/gui/widget/Positioner$Impl;
  • Constructor Details

    • WrappedElement

      protected WrappedElement(Widget widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lero$a;<init>(Lert;Leru;)V
      intermediary <init> Lnet/minecraft/class_7838$class_7839;<init>(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)V
      named <init> Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;<init>(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)V
  • Method Details

    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official a Lero$a;a()I
      intermediary method_46422 Lnet/minecraft/class_7838$class_7839;method_46422()I
      named getHeight Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;getHeight()I
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      official b Lero$a;b()I
      intermediary method_46424 Lnet/minecraft/class_7838$class_7839;method_46424()I
      named getWidth Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;getWidth()I
    • setX

      public void setX(int left, int right)
      Mappings:
      Namespace Name Mixin selector
      official a Lero$a;a(II)V
      intermediary method_46423 Lnet/minecraft/class_7838$class_7839;method_46423(II)V
      named setX Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;setX(II)V
    • setY

      public void setY(int top, int bottom)
      Mappings:
      Namespace Name Mixin selector
      official b Lero$a;b(II)V
      intermediary method_46425 Lnet/minecraft/class_7838$class_7839;method_46425(II)V
      named setY Lnet/minecraft/client/gui/widget/WrapperWidget$WrappedElement;setY(II)V