Package net.minecraft.client.gui.widget
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 esk$b
intermediary net/minecraft/class_7849$class_7851
named net/minecraft/client/gui/widget/AxisGridWidget$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(package private) int
getOtherAxisCoordinate
(Widget widget) (package private) int
getOtherAxisLength
(AxisGridWidget.Element element) (package private) int
getOtherAxisLength
(Widget widget) (package private) int
getSameAxisCoordinate
(Widget widget) (package private) int
getSameAxisLength
(AxisGridWidget.Element element) (package private) int
getSameAxisLength
(Widget widget) (package private) void
setOtherAxisCoordinate
(AxisGridWidget.Element element, int low, int high) (package private) void
setSameAxisCoordinate
(AxisGridWidget.Element element, int low) static AxisGridWidget.DisplayAxis
Returns the enum constant of this class with the specified name.static AxisGridWidget.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
Lesk$b;a:Lesk$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
- Mappings:
Namespace Name Mixin selector official b
Lesk$b;b:Lesk$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
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
-
getSameAxisLength
- Mappings:
Namespace Name Mixin selector official a
Lesk$b;a(Lesi;)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
- Mappings:
Namespace Name Mixin selector official a
Lesk$b;a(Lesk$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
- Mappings:
Namespace Name Mixin selector official b
Lesk$b;b(Lesi;)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
- Mappings:
Namespace Name Mixin selector official b
Lesk$b;b(Lesk$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
- Mappings:
Namespace Name Mixin selector official a
Lesk$b;a(Lesk$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
- Mappings:
Namespace Name Mixin selector official a
Lesk$b;a(Lesk$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
- Mappings:
Namespace Name Mixin selector official c
Lesk$b;c(Lesi;)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
- Mappings:
Namespace Name Mixin selector official d
Lesk$b;d(Lesi;)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
-