Enum Class AxisGridWidget.DisplayAxis

java.lang.Object
java.lang.Enum<AxisGridWidget.DisplayAxis>
net.minecraft.client.gui.widget.AxisGridWidget.DisplayAxis
All Implemented Interfaces:
Serializable, Comparable<AxisGridWidget.DisplayAxis>, Constable
Enclosing class:
AxisGridWidget

@Environment(CLIENT) public static enum AxisGridWidget.DisplayAxis extends Enum<AxisGridWidget.DisplayAxis>
Mappings:
Namespace Name
official eqz$b
intermediary net/minecraft/class_7849$class_7851
named net/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis
  • Enum Constant Details

    • HORIZONTAL

      public static final AxisGridWidget.DisplayAxis HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      official a Leqz$b;a:Leqz$b;
      intermediary field_40789 Lnet/minecraft/class_7849$class_7851;field_40789:Lnet/minecraft/class_7849$class_7851;
      named HORIZONTAL Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;HORIZONTAL:Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;
    • VERTICAL

      public static final AxisGridWidget.DisplayAxis VERTICAL
      Mappings:
      Namespace Name Mixin selector
      official b Leqz$b;b:Leqz$b;
      intermediary field_40790 Lnet/minecraft/class_7849$class_7851;field_40790:Lnet/minecraft/class_7849$class_7851;
      named VERTICAL Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;VERTICAL:Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;
  • Constructor Details

    • DisplayAxis

      private DisplayAxis()
  • Method Details

    • values

      public static AxisGridWidget.DisplayAxis[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AxisGridWidget.DisplayAxis valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSameAxisLength

      int getSameAxisLength(Widget widget)
      Mappings:
      Namespace Name Mixin selector
      official a Leqz$b;a(Leqx;)I
      intermediary method_46502 Lnet/minecraft/class_7849$class_7851;method_46502(Lnet/minecraft/class_8021;)I
      named getSameAxisLength Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getSameAxisLength(Lnet/minecraft/client/gui/widget/Widget;)I
    • getSameAxisLength

      int getSameAxisLength(AxisGridWidget.Element element)
      Mappings:
      Namespace Name Mixin selector
      official a Leqz$b;a(Leqz$a;)I
      intermediary method_46504 Lnet/minecraft/class_7849$class_7851;method_46504(Lnet/minecraft/class_7849$class_7850;)I
      named getSameAxisLength Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getSameAxisLength(Lnet/minecraft/client/gui/widget/AxisGridWidget$Element;)I
    • getOtherAxisLength

      int getOtherAxisLength(Widget widget)
      Mappings:
      Namespace Name Mixin selector
      official b Leqz$b;b(Leqx;)I
      intermediary method_46507 Lnet/minecraft/class_7849$class_7851;method_46507(Lnet/minecraft/class_8021;)I
      named getOtherAxisLength Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getOtherAxisLength(Lnet/minecraft/client/gui/widget/Widget;)I
    • getOtherAxisLength

      int getOtherAxisLength(AxisGridWidget.Element element)
      Mappings:
      Namespace Name Mixin selector
      official b Leqz$b;b(Leqz$a;)I
      intermediary method_46508 Lnet/minecraft/class_7849$class_7851;method_46508(Lnet/minecraft/class_7849$class_7850;)I
      named getOtherAxisLength Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getOtherAxisLength(Lnet/minecraft/client/gui/widget/AxisGridWidget$Element;)I
    • setSameAxisCoordinate

      void setSameAxisCoordinate(AxisGridWidget.Element element, int low)
      Mappings:
      Namespace Name Mixin selector
      official a Leqz$b;a(Leqz$a;I)V
      intermediary method_46505 Lnet/minecraft/class_7849$class_7851;method_46505(Lnet/minecraft/class_7849$class_7850;I)V
      named setSameAxisCoordinate Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;setSameAxisCoordinate(Lnet/minecraft/client/gui/widget/AxisGridWidget$Element;I)V
    • setOtherAxisCoordinate

      void setOtherAxisCoordinate(AxisGridWidget.Element element, int low, int high)
      Mappings:
      Namespace Name Mixin selector
      official a Leqz$b;a(Leqz$a;II)V
      intermediary method_46506 Lnet/minecraft/class_7849$class_7851;method_46506(Lnet/minecraft/class_7849$class_7850;II)V
      named setOtherAxisCoordinate Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;setOtherAxisCoordinate(Lnet/minecraft/client/gui/widget/AxisGridWidget$Element;II)V
    • getSameAxisCoordinate

      int getSameAxisCoordinate(Widget widget)
      Mappings:
      Namespace Name Mixin selector
      official c Leqz$b;c(Leqx;)I
      intermediary method_46509 Lnet/minecraft/class_7849$class_7851;method_46509(Lnet/minecraft/class_8021;)I
      named getSameAxisCoordinate Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getSameAxisCoordinate(Lnet/minecraft/client/gui/widget/Widget;)I
    • getOtherAxisCoordinate

      int getOtherAxisCoordinate(Widget widget)
      Mappings:
      Namespace Name Mixin selector
      official d Leqz$b;d(Leqx;)I
      intermediary method_46510 Lnet/minecraft/class_7849$class_7851;method_46510(Lnet/minecraft/class_8021;)I
      named getOtherAxisCoordinate Lnet/minecraft/client/gui/widget/AxisGridWidget$DisplayAxis;getOtherAxisCoordinate(Lnet/minecraft/client/gui/widget/Widget;)I