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 erv
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 Lerv;c:Lerv$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 Lerv;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 Lerv;e:Leru;
      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> Lerv;<init>(IILerv$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> Lerv;<init>(IIIILerv$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 c Lers;c()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 Lers;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 a Lerv;a()Leru;
      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 b Lerv;b()Leru;
      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 Lerv;a(Lert;)Lert;
      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 Lerv;a(Lert;Leru;)Lert;
      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;