Uses of Record Class
net.minecraft.client.gui.ScreenRect
Packages that use ScreenRect
Package
Description
-
Uses of ScreenRect in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as ScreenRectFields in net.minecraft.client.gui with type parameters of type ScreenRectMethods in net.minecraft.client.gui that return ScreenRectModifier and TypeMethodDescriptionScreenRect.add(NavigationDirection direction) Returns a new rect of the same dimensions with the position incremented.static ScreenRectScreenRect.empty()Returns an empty rect.ScreenRect.getBorder(NavigationDirection direction) Returns a rect representing the border of this rect in the givendirection.default ScreenRectElement.getNavigationFocus()ScreenRect.intersection(ScreenRect other) Returns the rect that intersects withother, ornullif they do not intersect.static ScreenRectScreenRect.of(NavigationAxis axis, int sameAxisCoord, int otherAxisCoord, int sameAxisLength, int otherAxisLength) Returns a new rect.DrawContext.ScissorStack.pop()DrawContext.ScissorStack.push(ScreenRect rect) Methods in net.minecraft.client.gui with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate @Nullable GuiNavigationPathParentElement.computeChildPath(ScreenRect focus, NavigationDirection direction, @Nullable Element focused, GuiNavigation navigation) private @Nullable GuiNavigationPathParentElement.computeInitialChildPath(ScreenRect focus, NavigationDirection direction, @Nullable Element focused, GuiNavigation navigation) ScreenRect.intersection(ScreenRect other) Returns the rect that intersects withother, ornullif they do not intersect.booleanScreenRect.overlaps(ScreenRect other) Returns whether this rect overlaps withrectin both axes.booleanScreenRect.overlaps(ScreenRect other, NavigationAxis axis) Returns whether this rect overlaps withrectinaxis.DrawContext.ScissorStack.push(ScreenRect rect) private voidDrawContext.setScissor(ScreenRect rect) -
Uses of ScreenRect in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen that return ScreenRect -
Uses of ScreenRect in net.minecraft.client.gui.tab
Fields in net.minecraft.client.gui.tab declared as ScreenRectMethods in net.minecraft.client.gui.tab with parameters of type ScreenRectModifier and TypeMethodDescriptionvoidGridScreenTab.refreshGrid(ScreenRect tabArea) voidTab.refreshGrid(ScreenRect tabArea) voidTabManager.setTabArea(ScreenRect tabArea) -
Uses of ScreenRect in net.minecraft.client.gui.widget
Methods in net.minecraft.client.gui.widget that return ScreenRectModifier and TypeMethodDescriptionClickableWidget.getNavigationFocus()EntryListWidget.getNavigationFocus()TabNavigationWidget.getNavigationFocus()default ScreenRectWidget.getNavigationFocus()Methods in net.minecraft.client.gui.widget with parameters of type ScreenRectModifier and TypeMethodDescriptionstatic voidSimplePositioningWidget.setPos(Widget widget, ScreenRect rect) static voidSimplePositioningWidget.setPos(Widget widget, ScreenRect rect, float relativeX, float relativeY)