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 official ewd$a
intermediary net/minecraft/class_8667$class_8668
named net/minecraft/client/gui/widget/DirectionalLayoutWidget$DisplayAxis
-
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 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
- 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
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 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
- 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;
-