Uses of Enum Class
net.minecraft.client.gui.navigation.NavigationAxis
Packages that use NavigationAxis
-
Uses of NavigationAxis in net.minecraft.client.gui.navigation
Methods in net.minecraft.client.gui.navigation that return NavigationAxisModifier and TypeMethodDescriptionNavigationDirection.getAxis()NavigationAxis.getOther()static NavigationAxisReturns the enum constant of this class with the specified name.static NavigationAxis[]NavigationAxis.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.client.gui.navigation with parameters of type NavigationAxisModifier and TypeMethodDescriptionintFocusedRect.getCenter(NavigationAxis axis) Returns the center of this rect in the givenaxis.intFocusedPos.getComponent(NavigationAxis axis) intFocusedRect.getLength(NavigationAxis axis) Returns the length of the rect in the givenaxis.static FocusedPosFocusedPos.of(NavigationAxis axis, int sameAxis, int otherAxis) static FocusedRectFocusedRect.of(NavigationAxis axis, int sameAxisCoord, int otherAxisCoord, int sameAxisLength, int otherAxisLength) Returns a new rect.booleanFocusedRect.overlaps(FocusedRect other, NavigationAxis axis) Returns whether this rect overlaps withrectinaxis.