Class AxisGridWidget

All Implemented Interfaces:
Drawable, Element, Narratable, ParentElement, Selectable

@Environment(CLIENT) public class AxisGridWidget extends WrapperWidget
Mappings:
Namespace Name
official eln
intermediary net/minecraft/class_7849
named net/minecraft/client/gui/widget/AxisGridWidget
  • Field Details

    • axis

      private final AxisGridWidget.DisplayAxis axis
      Mappings:
      Namespace Name Mixin selector
      official a Leln;a:Leln$b;
      intermediary field_40784 Lnet/minecraft/class_7849;field_40784:Lnet/minecraft/class_7849$class_7851;
      named axis Lnet/minecraft/client/gui/widget/AxisGridWidget;axis:Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;
    • elements

      private final List<AxisGridWidget.Element> elements
      Mappings:
      Namespace Name Mixin selector
      official b Leln;b:Ljava/util/List;
      intermediary field_40785 Lnet/minecraft/class_7849;field_40785:Ljava/util/List;
      named elements Lnet/minecraft/client/gui/widget/AxisGridWidget;elements:Ljava/util/List;
    • children

      private final List<ClickableWidget> children
      Mappings:
      Namespace Name Mixin selector
      official c Leln;c:Ljava/util/List;
      intermediary field_40786 Lnet/minecraft/class_7849;field_40786:Ljava/util/List;
      named children Lnet/minecraft/client/gui/widget/AxisGridWidget;children:Ljava/util/List;
    • mainPositioner

      private final Positioner mainPositioner
      Mappings:
      Namespace Name Mixin selector
      official d Leln;d:Lell;
      intermediary field_40787 Lnet/minecraft/class_7849;field_40787:Lnet/minecraft/class_7847;
      named mainPositioner Lnet/minecraft/client/gui/widget/AxisGridWidget;mainPositioner:Lnet/minecraft/client/gui/widget/Positioner;
  • Constructor Details

    • AxisGridWidget

      public AxisGridWidget(int width, int height, AxisGridWidget.DisplayAxis axis)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leln;<init>(IILeln$b;)V
      intermediary <init> Lnet/minecraft/class_7849;<init>(IILnet/minecraft/class_7849$class_7851;)V
      named <init> Lnet/minecraft/client/gui/widget/AxisGridWidget;<init>(IILnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;)V
    • AxisGridWidget

      public AxisGridWidget(int x, int y, int width, int height, AxisGridWidget.DisplayAxis axis)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leln;<init>(IIIILeln$b;)V
      intermediary <init> Lnet/minecraft/class_7849;<init>(IIIILnet/minecraft/class_7849$class_7851;)V
      named <init> Lnet/minecraft/client/gui/widget/AxisGridWidget;<init>(IIIILnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;)V
  • Method Details

    • recalculateDimensions

      public void recalculateDimensions()
      Mappings:
      Namespace Name Mixin selector
      official g Leln;g()V
      intermediary method_46498 Lnet/minecraft/class_7849;method_46498()V
      named recalculateDimensions Lnet/minecraft/client/gui/widget/AxisGridWidget;recalculateDimensions()V
    • wrappedWidgets

      protected List<? extends ClickableWidget> wrappedWidgets()
      Specified by:
      wrappedWidgets in class WrapperWidget
      Mappings:
      Namespace Name Mixin selector
      official b Lekr;b()Ljava/util/List;
      intermediary method_46418 Lnet/minecraft/class_7838;method_46418()Ljava/util/List;
      named wrappedWidgets Lnet/minecraft/client/gui/widget/WrapperWidget;wrappedWidgets()Ljava/util/List;
    • copyPositioner

      public Positioner copyPositioner()
      Mappings:
      Namespace Name Mixin selector
      official h Leln;h()Lell;
      intermediary method_46499 Lnet/minecraft/class_7849;method_46499()Lnet/minecraft/class_7847;
      named copyPositioner Lnet/minecraft/client/gui/widget/AxisGridWidget;copyPositioner()Lnet/minecraft/client/gui/widget/Positioner;
    • getMainPositioner

      public Positioner getMainPositioner()
      Mappings:
      Namespace Name Mixin selector
      official t Leln;t()Lell;
      intermediary method_46500 Lnet/minecraft/class_7849;method_46500()Lnet/minecraft/class_7847;
      named getMainPositioner Lnet/minecraft/client/gui/widget/AxisGridWidget;getMainPositioner()Lnet/minecraft/client/gui/widget/Positioner;
    • add

      public <T extends ClickableWidget> T add(T widget)
      Mappings:
      Namespace Name Mixin selector
      official a Leln;a(Lekw;)Lekw;
      intermediary method_46495 Lnet/minecraft/class_7849;method_46495(Lnet/minecraft/class_339;)Lnet/minecraft/class_339;
      named add Lnet/minecraft/client/gui/widget/AxisGridWidget;add(Lnet/minecraft/client/gui/widget/ClickableWidget;)Lnet/minecraft/client/gui/widget/ClickableWidget;
    • add

      public <T extends ClickableWidget> T add(T widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official a Leln;a(Lekw;Lell;)Lekw;
      intermediary method_46496 Lnet/minecraft/class_7849;method_46496(Lnet/minecraft/class_339;Lnet/minecraft/class_7847;)Lnet/minecraft/class_339;
      named add Lnet/minecraft/client/gui/widget/AxisGridWidget;add(Lnet/minecraft/client/gui/widget/ClickableWidget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/ClickableWidget;