Package net.minecraft.client.gui.widget
Enum EntryListWidget.MoveDirection
java.lang.Object
java.lang.Enum<EntryListWidget.MoveDirection>
net.minecraft.client.gui.widget.EntryListWidget.MoveDirection
- All Implemented Interfaces:
Serializable
,Comparable<EntryListWidget.MoveDirection>
,java.lang.constant.Constable
- Enclosing class:
- EntryListWidget<E extends EntryListWidget.Entry<E>>
@Environment(CLIENT) public static enum EntryListWidget.MoveDirection extends Enum<EntryListWidget.MoveDirection>
Represents the direction in which the selection is moved.
- Mappings:
Namespace Name official drq$b
intermediary net/minecraft/class_350$class_5403
named net/minecraft/client/gui/widget/EntryListWidget$MoveDirection
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
MoveDirection()
-
Method Summary
Modifier and Type Method Description static EntryListWidget.MoveDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static EntryListWidget.MoveDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UP
- Mappings:
Namespace Name Mixin selector official a
Ldrq$b;a:Ldrq$b;
intermediary field_25661
Lnet/minecraft/class_350$class_5403;field_25661:Lnet/minecraft/class_350$class_5403;
named UP
Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;UP:Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;
-
DOWN
- Mappings:
Namespace Name Mixin selector official b
Ldrq$b;b:Ldrq$b;
intermediary field_25662
Lnet/minecraft/class_350$class_5403;field_25662:Lnet/minecraft/class_350$class_5403;
named DOWN
Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;DOWN:Lnet/minecraft/client/gui/widget/EntryListWidget$MoveDirection;
-
-
Constructor Details
-
MoveDirection
private MoveDirection()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-