Package net.minecraft.client.gui.widget
Enum Class EntryListWidget.MoveDirection
java.lang.Object
java.lang.Enum<EntryListWidget.MoveDirection>
net.minecraft.client.gui.widget.EntryListWidget.MoveDirection
- All Implemented Interfaces:
Serializable
,Comparable<EntryListWidget.MoveDirection>
,Constable
- Enclosing class:
EntryListWidget<E extends EntryListWidget.Entry<E>>
@Environment(CLIENT)
protected static enum EntryListWidget.MoveDirection
extends Enum<EntryListWidget.MoveDirection>
Represents the direction in which the selection is moved.
- Mappings:
Namespace Name official egn$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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EntryListWidget.MoveDirection[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UP
- Mappings:
Namespace Name Mixin selector official a
Legn$b;a:Legn$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
Legn$b;b:Legn$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 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
-