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
named net/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis
intermediary net/minecraft/class_8667$class_8668
official fmd$a
  • Enum Constant Details

    • HORIZONTAL

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

      public static final DirectionalLayoutWidget.DisplayAxis VERTICAL
      Mappings:
      Namespace Name Mixin selector
      named VERTICAL Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;VERTICAL:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;
      intermediary field_45404 Lnet/minecraft/class_8667$class_8668;field_45404:Lnet/minecraft/class_8667$class_8668;
      official b Lfmd$a;b:Lfmd$a;
  • 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
      named setSpacing Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis;setSpacing(Lnet/minecraft/client/gui/widget/GridWidget;I)V
      intermediary method_52744 Lnet/minecraft/class_8667$class_8668;method_52744(Lnet/minecraft/class_7845;I)V
      official a Lfmd$a;a(Lfly;I)V
    • add

      public <T extends Widget> T add(GridWidget grid, T widget, int index, Positioner positioner)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lfmd$a;a(Lfly;Lfmb;ILfmc;)Lfmb;