Enum Class DirectionalLayoutWidget.DisplayAxis

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

@Environment(CLIENT) public static enum DirectionalLayoutWidget.DisplayAxis extends Enum<DirectionalLayoutWidget.DisplayAxis>
Mappings:
Namespace Name
official ewd$a
intermediary net/minecraft/class_8667$class_8668
named net/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis
  • Enum Constant Details

    • HORIZONTAL

      public static final DirectionalLayoutWidget.DisplayAxis HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      official a Lewd$a;a:Lewd$a;
      intermediary field_45403 Lnet/minecraft/class_8667$class_8668;field_45403:Lnet/minecraft/class_8667$class_8668;
      named HORIZONTAL Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;HORIZONTAL:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;
    • VERTICAL

      public static final DirectionalLayoutWidget.DisplayAxis VERTICAL
      Mappings:
      Namespace Name Mixin selector
      official b Lewd$a;b:Lewd$a;
      intermediary field_45404 Lnet/minecraft/class_8667$class_8668;field_45404:Lnet/minecraft/class_8667$class_8668;
      named VERTICAL Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;VERTICAL:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;
  • Constructor Details

    • DisplayAxis

      private DisplayAxis()
  • Method Details

    • values

      public static DirectionalLayoutWidget.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 DirectionalLayoutWidget.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
    • setSpacing

      void setSpacing(GridWidget grid, int spacing)
      Mappings:
      Namespace Name Mixin selector
      official a Lewd$a;a(Levy;I)V
      intermediary method_52744 Lnet/minecraft/class_8667$class_8668;method_52744(Lnet/minecraft/class_7845;I)V
      named setSpacing Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;setSpacing(Lnet/minecraft/client/gui/widget/GridWidget;I)V
    • add

      public <T extends Widget> T add(GridWidget grid, T widget, int index, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      official a Lewd$a;a(Levy;Lewb;ILewc;)Lewb;
      intermediary method_52745 Lnet/minecraft/class_8667$class_8668;method_52745(Lnet/minecraft/class_7845;Lnet/minecraft/class_8021;ILnet/minecraft/class_7847;)Lnet/minecraft/class_8021;
      named add Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;add(Lnet/minecraft/client/gui/widget/GridWidget;Lnet/minecraft/client/gui/widget/Widget;ILnet/minecraft/client/gui/widget/Positioner;)Lnet/minecraft/client/gui/widget/Widget;