Class AxisGridWidget

java.lang.Object
net.minecraft.client.gui.widget.WrapperWidget
net.minecraft.client.gui.widget.AxisGridWidget
All Implemented Interfaces:
LayoutWidget, Widget

@Environment(CLIENT) public class AxisGridWidget extends WrapperWidget
Mappings:
Namespace Name
official evw
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 c Levw;c:Levw$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 d Levw;d: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;
    • mainPositioner

      private final Positioner mainPositioner
      Mappings:
      Namespace Name Mixin selector
      official e Levw;e:Lewc;
      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> Levw;<init>(IILevw$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> Levw;<init>(IIIILevw$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

    • refreshPositions

      public void refreshPositions()
      Mappings:
      Namespace Name Mixin selector
      official a Lewa;a()V
      intermediary method_48222 Lnet/minecraft/class_8133;method_48222()V
      named refreshPositions Lnet/minecraft/client/gui/widget/LayoutWidget;refreshPositions()V
    • forEachElement

      public void forEachElement(Consumer<Widget> consumer)
      Mappings:
      Namespace Name Mixin selector
      official b Lewa;b(Ljava/util/function/Consumer;)V
      intermediary method_48227 Lnet/minecraft/class_8133;method_48227(Ljava/util/function/Consumer;)V
      named forEachElement Lnet/minecraft/client/gui/widget/LayoutWidget;forEachElement(Ljava/util/function/Consumer;)V
    • copyPositioner

      public Positioner copyPositioner()
      Mappings:
      Namespace Name Mixin selector
      official b Levw;b()Lewc;
      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 c Levw;c()Lewc;
      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 Widget> T add(T widget)
      Mappings:
      Namespace Name Mixin selector
      official a Levw;a(Lewb;)Lewb;
      intermediary method_46495 Lnet/minecraft/class_7849;method_46495(Lnet/minecraft/class_8021;)Lnet/minecraft/class_8021;
      named add Lnet/minecraft/client/gui/widget/AxisGridWidget;add(Lnet/minecraft/client/gui/widget/Widget;)Lnet/minecraft/client/gui/widget/Widget;
    • add

      public <T extends Widget> T add(T widget, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official a Levw;a(Lewb;Lewc;)Lewb;
      intermediary method_46496 Lnet/minecraft/class_7849;method_46496(Lnet/minecraft/class_8021;Lnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
      named add Lnet/minecraft/client/gui/widget/AxisGridWidget;add(Lnet/minecraft/client/gui/widget/Widget;Lnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;
    • add

      public <T extends Widget> T add(T widget, Consumer<Positioner> callback)
      Mappings:
      Namespace Name Mixin selector
      official a Levw;a(Lewb;Ljava/util/function/Consumer;)Lewb;
      intermediary method_52731 Lnet/minecraft/class_7849;method_52731(Lnet/minecraft/class_8021;Ljava/util/function/Consumer;)Lnet/minecraft/class_8021;
      named add Lnet/minecraft/client/gui/widget/AxisGridWidget;add(Lnet/minecraft/client/gui/widget/Widget;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/Widget;