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
named net/minecraft/client/gui/navigation/NavigationAxis
intermediary net/minecraft/class_8027
official fsj
  • Enum Constant Details

    • HORIZONTAL

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

      public static final NavigationAxis VERTICAL
      Mappings:
      Namespace Name Mixin selector
      named VERTICAL Lnet/minecraft/client/gui/navigation/NavigationAxis;VERTICAL:Lnet/minecraft/client/gui/navigation/NavigationAxis;
      intermediary field_41823 Lnet/minecraft/class_8027;field_41823:Lnet/minecraft/class_8027;
      official b Lfsj;b:Lfsj;
  • 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
      named getOther Lnet/minecraft/client/gui/navigation/NavigationAxis;getOther()Lnet/minecraft/client/gui/navigation/NavigationAxis;
      intermediary method_48232 Lnet/minecraft/class_8027;method_48232()Lnet/minecraft/class_8027;
      official a Lfsj;a()Lfsj;
    • getPositiveDirection

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

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

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