Uses of Enum Class
net.minecraft.client.gui.navigation.NavigationAxis
-
Uses of NavigationAxis in net.minecraft.client.gui
Modifier and TypeMethodDescriptionint
ScreenRect.getCenter
(NavigationAxis axis) Returns the center of this rect in the givenaxis
.int
ScreenPos.getComponent
(NavigationAxis axis) int
ScreenRect.getLength
(NavigationAxis axis) Returns the length of the rect in the givenaxis
.static ScreenPos
ScreenPos.of
(NavigationAxis axis, int sameAxis, int otherAxis) static ScreenRect
ScreenRect.of
(NavigationAxis axis, int sameAxisCoord, int otherAxisCoord, int sameAxisLength, int otherAxisLength) Returns a new rect.boolean
ScreenRect.overlaps
(ScreenRect other, NavigationAxis axis) Returns whether this rect overlaps withrect
inaxis
.