Package net.minecraft.client.gui.widget
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 fkw$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Widget>
Tadd
(GridWidget grid, T widget, int index, Positioner positioner) (package private) void
setSpacing
(GridWidget grid, int spacing) Returns the enum constant of this class with the specified name.static DirectionalLayoutWidget.DisplayAxis[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
Lfkw$a;a:Lfkw$a;
-
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
Lfkw$a;b:Lfkw$a;
-
-
Constructor Details
-
DisplayAxis
private DisplayAxis()
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
setSpacing
- 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
Lfkw$a;a(Lfkr;I)V
-
add
- 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
Lfkw$a;a(Lfkr;Lfku;ILfkv;)Lfku;
-