Uses of Record Class
net.minecraft.client.gui.ScreenRect
Packages that use ScreenRect
Package
Description
-
Uses of ScreenRect in net.minecraft.client.font
Methods in net.minecraft.client.font that return ScreenRectModifier and TypeMethodDescriptionTextRenderer.Drawer.getScreenRect()TextRenderer.GlyphDrawable.getScreenRect() -
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.default ScreenRectElement.getBorder(NavigationDirection direction) 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.peekLast()DrawContext.ScissorStack.pop()DrawContext.ScissorStack.push(ScreenRect rect) ScreenRect.transform(Matrix3x2f transformation) ScreenRect.transformEachVertex(Matrix3x2f transformation) 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) booleanScreenRect.contains(ScreenRect other) ScreenRect.intersection(ScreenRect other) Returns the rect that intersects withother, ornullif they do not intersect.booleanScreenRect.intersects(ScreenRect other) 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) -
Uses of ScreenRect in net.minecraft.client.gui.render
Fields in net.minecraft.client.gui.render declared as ScreenRectModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectGuiRenderer.Draw.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectGuiRenderer.Preparation.scissorAreaThe field for thescissorArearecord component.private @Nullable ScreenRectGuiRenderer.scissorAreaFields in net.minecraft.client.gui.render with type parameters of type ScreenRectModifier and TypeFieldDescriptionprivate static final Comparator<ScreenRect> GuiRenderer.SCISSOR_AREA_COMPARATORMethods in net.minecraft.client.gui.render that return ScreenRectModifier and TypeMethodDescriptionGuiRenderer.Draw.scissorArea()Returns the value of thescissorArearecord component.GuiRenderer.Preparation.scissorArea()Returns the value of thescissorArearecord component.Methods in net.minecraft.client.gui.render with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate voidGuiRenderer.enableScissor(ScreenRect scissorArea, RenderPass pass) private voidGuiRenderer.endBuffer(BufferBuilder builder, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRect scissorArea) private booleanGuiRenderer.scissorChanged(ScreenRect oldScissorArea, @Nullable ScreenRect newScissorArea) Constructors in net.minecraft.client.gui.render with parameters of type ScreenRectModifierConstructorDescription(package private)Draw(GpuBuffer gpuBuffer, int int2, VertexFormat.DrawMode drawMode, int int3, RenderPipeline renderPipeline, TextureSetup textureSetup, @Nullable ScreenRect screenRect) (package private)Preparation(BuiltBuffer builtBuffer, RenderPipeline renderPipeline, TextureSetup textureSetup, @Nullable ScreenRect screenRect) -
Uses of ScreenRect in net.minecraft.client.gui.render.state
Fields in net.minecraft.client.gui.render.state declared as ScreenRectModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectColoredQuadGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectItemGuiElementRenderState.boundsprivate @Nullable ScreenRectTextGuiElementRenderState.boundsprivate final @Nullable ScreenRectTexturedQuadGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.boundsThe field for theboundsrecord component.final @Nullable ScreenRectTextGuiElementRenderState.clipBoundsprivate @Nullable ScreenRectGuiRenderState.currentLayerBoundsprivate final @Nullable ScreenRectItemGuiElementRenderState.oversizedBoundsprivate final @Nullable ScreenRectColoredQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectGlyphGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectItemGuiElementRenderState.scissorAreaprivate final @Nullable ScreenRectTexturedQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.Methods in net.minecraft.client.gui.render.state that return ScreenRectModifier and TypeMethodDescriptionColoredQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.GlyphGuiElementRenderState.bounds()GuiElementRenderState.bounds()ItemGuiElementRenderState.bounds()TextGuiElementRenderState.bounds()TexturedQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.TiledTexturedQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.private static @Nullable ScreenRectColoredQuadGuiElementRenderState.createBounds(int x0, int y0, int x1, int y1, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private @Nullable ScreenRectItemGuiElementRenderState.createBounds(ScreenRect rect) private static @Nullable ScreenRectTexturedQuadGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private static @Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect rect) private @Nullable ScreenRectItemGuiElementRenderState.createOversizedBounds()ItemGuiElementRenderState.oversizedBounds()ColoredQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.GlyphGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.ItemGuiElementRenderState.scissorArea()SimpleGuiElementRenderState.scissorArea()TexturedQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.TiledTexturedQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.Methods in net.minecraft.client.gui.render.state with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate booleanGuiRenderState.anyIntersect(ScreenRect bounds, @Nullable List<? extends GuiElementRenderState> elementRenderStates) private static @Nullable ScreenRectColoredQuadGuiElementRenderState.createBounds(int x0, int y0, int x1, int y1, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private @Nullable ScreenRectItemGuiElementRenderState.createBounds(ScreenRect rect) private static @Nullable ScreenRectTexturedQuadGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private static @Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect rect) private voidGuiRenderState.findAndGoToLayerIntersecting(ScreenRect bounds) private voidGuiRenderState.onElementAdded(@Nullable ScreenRect bounds) Constructors in net.minecraft.client.gui.render.state with parameters of type ScreenRectModifierConstructorDescriptionColoredQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int x0, int y0, int x1, int y1, int col1, int col2, @Nullable ScreenRect scissorArea) ColoredQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, int int6, int int7, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) GlyphGuiElementRenderState(Matrix3x2f matrix3x2f, TextDrawable textDrawable, @Nullable ScreenRect screenRect) ItemGuiElementRenderState(String name, Matrix3x2f pose, KeyedItemRenderState state, int x, int y, @Nullable ScreenRect scissor) TextGuiElementRenderState(TextRenderer textRenderer, OrderedText orderedText, Matrix3x2f matrix, int x, int y, int color, int backgroundColor, boolean shadow, @Nullable ScreenRect clipBounds) TexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int x1, int y1, int x2, int y2, float u1, float u2, float v1, float v2, int color, @Nullable ScreenRect scissorArea) TexturedQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, float float2, float float3, float float4, float float5, int int6, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) TiledTexturedQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2f pose, int tileWidth, int tileHeight, int x0, int y0, int x1, int y1, float u0, float u1, float v0, float v1, int color, @Nullable ScreenRect scissorArea) TiledTexturedQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, int int6, int int7, float float2, float float3, float float4, float float5, int int8, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) -
Uses of ScreenRect in net.minecraft.client.gui.render.state.special
Fields in net.minecraft.client.gui.render.state.special declared as ScreenRectModifier and TypeFieldDescriptionprivate final @Nullable ScreenRectBannerResultGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectBookModelGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectEntityGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectPlayerSkinGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectProfilerChartGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectSignGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectBannerResultGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectBookModelGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectEntityGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectPlayerSkinGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectProfilerChartGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectSignGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.Methods in net.minecraft.client.gui.render.state.special that return ScreenRectModifier and TypeMethodDescriptionBannerResultGuiElementRenderState.bounds()Returns the value of theboundsrecord component.BookModelGuiElementRenderState.bounds()Returns the value of theboundsrecord component.EntityGuiElementRenderState.bounds()Returns the value of theboundsrecord component.OversizedItemGuiElementRenderState.bounds()PlayerSkinGuiElementRenderState.bounds()Returns the value of theboundsrecord component.ProfilerChartGuiElementRenderState.bounds()Returns the value of theboundsrecord component.SignGuiElementRenderState.bounds()Returns the value of theboundsrecord component.static @Nullable ScreenRectSpecialGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) BannerResultGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.BookModelGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.EntityGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.OversizedItemGuiElementRenderState.scissorArea()PlayerSkinGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.ProfilerChartGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.SignGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.SpecialGuiElementRenderState.scissorArea()Methods in net.minecraft.client.gui.render.state.special with parameters of type ScreenRectModifier and TypeMethodDescriptionstatic @Nullable ScreenRectSpecialGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) Constructors in net.minecraft.client.gui.render.state.special with parameters of type ScreenRectModifierConstructorDescriptionBannerResultGuiElementRenderState(BannerFlagBlockModel bannerFlagBlockModel, DyeColor color, BannerPatternsComponent bannerPatterns, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) BannerResultGuiElementRenderState(BannerFlagBlockModel bannerFlagBlockModel, DyeColor dyeColor, BannerPatternsComponent bannerPatternsComponent, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) BookModelGuiElementRenderState(BookModel model, Identifier texture, float open, float flip, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) BookModelGuiElementRenderState(BookModel bookModel, Identifier identifier, float float2, float float3, int int2, int int3, int int4, int int5, float float4, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) EntityGuiElementRenderState(EntityRenderState renderState, Vector3f translation, Quaternionf rotation, @Nullable Quaternionf overrideCameraAngle, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) EntityGuiElementRenderState(EntityRenderState entityRenderState, Vector3f vector3f, Quaternionf quaternionf, @Nullable Quaternionf quaternionf2, int int2, int int3, int int4, int int5, float float2, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) PlayerSkinGuiElementRenderState(PlayerEntityModel model, Identifier texture, float xRotation, float yRotation, float yPivot, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) PlayerSkinGuiElementRenderState(PlayerEntityModel playerEntityModel, Identifier identifier, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) ProfilerChartGuiElementRenderState(List<ProfilerTiming> chartData, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) ProfilerChartGuiElementRenderState(List<ProfilerTiming> list, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) SignGuiElementRenderState(Model.SinglePartModel part, WoodType woodType, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) SignGuiElementRenderState(Model.SinglePartModel singlePartModel, WoodType woodType, int int2, int int3, int int4, int int5, float float2, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) -
Uses of ScreenRect in net.minecraft.client.gui.screen
Methods in net.minecraft.client.gui.screen that return ScreenRectMethods in net.minecraft.client.gui.screen with parameters of type ScreenRect -
Uses of ScreenRect in net.minecraft.client.gui.screen.recipebook
Fields in net.minecraft.client.gui.screen.recipebook declared as 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) voidLoadingTab.refreshGrid(ScreenRect tabArea) voidTab.refreshGrid(ScreenRect tabArea) voidTabManager.setTabArea(ScreenRect tabArea) -
Uses of ScreenRect in net.minecraft.client.gui.tooltip
Fields in net.minecraft.client.gui.tooltip declared as ScreenRectModifier and TypeFieldDescriptionprivate final ScreenRectFocusedTooltipPositioner.focusprivate final ScreenRectWidgetTooltipPositioner.focusMethods in net.minecraft.client.gui.tooltip with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate TooltipPositionerTooltipState.createPositioner(ScreenRect focus, boolean hovered, boolean focused) voidTooltipState.render(DrawContext context, int mouseX, int mouseY, boolean hovered, boolean focused, ScreenRect navigationFocus) Constructors in net.minecraft.client.gui.tooltip with parameters of type ScreenRectModifierConstructorDescription -
Uses of ScreenRect in net.minecraft.client.gui.widget
Methods in net.minecraft.client.gui.widget that return ScreenRectModifier and TypeMethodDescriptionScrollableLayoutWidget.Container.getBorder(NavigationDirection direction) ClickableWidget.getNavigationFocus()EntryListWidget.Entry.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) -
Uses of ScreenRect in net.minecraft.client.realms.gui.screen.tab
Methods in net.minecraft.client.realms.gui.screen.tab with parameters of type ScreenRect