Uses of Enum Class
net.minecraft.client.gui.navigation.NavigationAxis
-
Uses of NavigationAxis in net.minecraft.client.gui.navigation
Modifier and TypeMethodDescriptionNavigationDirection.getAxis()
NavigationAxis.getOther()
static NavigationAxis
Returns 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.Modifier and TypeMethodDescriptionint
FocusedRect.getCenter
(NavigationAxis axis) Returns the center of this rect in the givenaxis
.int
FocusedPos.getComponent
(NavigationAxis axis) int
FocusedRect.getLength
(NavigationAxis axis) Returns the length of the rect in the givenaxis
.static FocusedPos
FocusedPos.of
(NavigationAxis axis, int sameAxis, int otherAxis) static FocusedRect
FocusedRect.of
(NavigationAxis axis, int sameAxisCoord, int otherAxisCoord, int sameAxisLength, int otherAxisLength) Returns a new rect.boolean
FocusedRect.overlaps
(FocusedRect other, NavigationAxis axis) Returns whether this rect overlaps withrect
inaxis
.