Enum Class NavigationAxis

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

@Environment(CLIENT) public enum NavigationAxis extends Enum<NavigationAxis>
Mappings:
Namespace Name
official esw
intermediary net/minecraft/class_8027
named net/minecraft/client/gui/navigation/NavigationAxis
  • Enum Constant Details

    • HORIZONTAL

      public static final NavigationAxis HORIZONTAL
      Mappings:
      Namespace Name Mixin selector
      official a Lesw;a:Lesw;
      intermediary field_41822 Lnet/minecraft/class_8027;field_41822:Lnet/minecraft/class_8027;
      named HORIZONTAL Lnet/minecraft/client/gui/navigation/NavigationAxis;HORIZONTAL:Lnet/minecraft/client/gui/navigation/NavigationAxis;
    • VERTICAL

      public static final NavigationAxis VERTICAL
      Mappings:
      Namespace Name Mixin selector
      official b Lesw;b:Lesw;
      intermediary field_41823 Lnet/minecraft/class_8027;field_41823:Lnet/minecraft/class_8027;
      named VERTICAL Lnet/minecraft/client/gui/navigation/NavigationAxis;VERTICAL:Lnet/minecraft/client/gui/navigation/NavigationAxis;
  • Constructor Details

    • NavigationAxis

      private NavigationAxis()
  • Method Details

    • values

      public static NavigationAxis[] 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 NavigationAxis 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
    • getOther

      public NavigationAxis getOther()
      Mappings:
      Namespace Name Mixin selector
      official a Lesw;a()Lesw;
      intermediary method_48232 Lnet/minecraft/class_8027;method_48232()Lnet/minecraft/class_8027;
      named getOther Lnet/minecraft/client/gui/navigation/NavigationAxis;getOther()Lnet/minecraft/client/gui/navigation/NavigationAxis;
    • getPositiveDirection

      public NavigationDirection getPositiveDirection()
      Mappings:
      Namespace Name Mixin selector
      official b Lesw;b()Lesx;
      intermediary method_48234 Lnet/minecraft/class_8027;method_48234()Lnet/minecraft/class_8028;
      named getPositiveDirection Lnet/minecraft/client/gui/navigation/NavigationAxis;getPositiveDirection()Lnet/minecraft/client/gui/navigation/NavigationDirection;
    • getNegativeDirection

      public NavigationDirection getNegativeDirection()
      Mappings:
      Namespace Name Mixin selector
      official c Lesw;c()Lesx;
      intermediary method_48235 Lnet/minecraft/class_8027;method_48235()Lnet/minecraft/class_8028;
      named getNegativeDirection Lnet/minecraft/client/gui/navigation/NavigationAxis;getNegativeDirection()Lnet/minecraft/client/gui/navigation/NavigationDirection;
    • getDirection

      public NavigationDirection getDirection(boolean positive)
      Mappings:
      Namespace Name Mixin selector
      official a Lesw;a(Z)Lesx;
      intermediary method_48233 Lnet/minecraft/class_8027;method_48233(Z)Lnet/minecraft/class_8028;
      named getDirection Lnet/minecraft/client/gui/navigation/NavigationAxis;getDirection(Z)Lnet/minecraft/client/gui/navigation/NavigationDirection;