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.
  • Enum Constant Details

  • Constructor Details

    • MoveDirection

      private MoveDirection()
  • Method Details

    • values

      public static EntryListWidget.MoveDirection[] 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

      public static EntryListWidget.MoveDirection valueOf​(String name)
      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 name
      NullPointerException - if the argument is null