Enum Class GuiNavigationType

java.lang.Object
java.lang.Enum<GuiNavigationType>
net.minecraft.client.gui.navigation.GuiNavigationType
All Implemented Interfaces:
Serializable, Comparable<GuiNavigationType>, Constable

@Environment(CLIENT) public enum GuiNavigationType extends Enum<GuiNavigationType>
An enum representing the type of navigation input method.
Mappings:
Namespace Name
official enk
intermediary net/minecraft/class_8015
named net/minecraft/client/gui/navigation/GuiNavigationType
  • Enum Constant Details

    • NONE

      public static final GuiNavigationType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lenk;a:Lenk;
      intermediary field_41777 Lnet/minecraft/class_8015;field_41777:Lnet/minecraft/class_8015;
      named NONE Lnet/minecraft/client/gui/navigation/GuiNavigationType;NONE:Lnet/minecraft/client/gui/navigation/GuiNavigationType;
    • MOUSE

      public static final GuiNavigationType MOUSE
      Mappings:
      Namespace Name Mixin selector
      official b Lenk;b:Lenk;
      intermediary field_41778 Lnet/minecraft/class_8015;field_41778:Lnet/minecraft/class_8015;
      named MOUSE Lnet/minecraft/client/gui/navigation/GuiNavigationType;MOUSE:Lnet/minecraft/client/gui/navigation/GuiNavigationType;
    • KEYBOARD_ARROW

      public static final GuiNavigationType KEYBOARD_ARROW
      Mappings:
      Namespace Name Mixin selector
      official c Lenk;c:Lenk;
      intermediary field_43097 Lnet/minecraft/class_8015;field_43097:Lnet/minecraft/class_8015;
      named KEYBOARD_ARROW Lnet/minecraft/client/gui/navigation/GuiNavigationType;KEYBOARD_ARROW:Lnet/minecraft/client/gui/navigation/GuiNavigationType;
    • KEYBOARD_TAB

      public static final GuiNavigationType KEYBOARD_TAB
      Mappings:
      Namespace Name Mixin selector
      official d Lenk;d:Lenk;
      intermediary field_41780 Lnet/minecraft/class_8015;field_41780:Lnet/minecraft/class_8015;
      named KEYBOARD_TAB Lnet/minecraft/client/gui/navigation/GuiNavigationType;KEYBOARD_TAB:Lnet/minecraft/client/gui/navigation/GuiNavigationType;
  • Constructor Details

    • GuiNavigationType

      private GuiNavigationType()
  • Method Details

    • values

      public static GuiNavigationType[] 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

      public static GuiNavigationType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isMouse

      public boolean isMouse()
      Mappings:
      Namespace Name Mixin selector
      official a Lenk;a()Z
      intermediary method_48182 Lnet/minecraft/class_8015;method_48182()Z
      named isMouse Lnet/minecraft/client/gui/navigation/GuiNavigationType;isMouse()Z
    • isKeyboard

      public boolean isKeyboard()
      Mappings:
      Namespace Name Mixin selector
      official b Lenk;b()Z
      intermediary method_48183 Lnet/minecraft/class_8015;method_48183()Z
      named isKeyboard Lnet/minecraft/client/gui/navigation/GuiNavigationType;isKeyboard()Z