Uses of Record Class
net.minecraft.client.gui.navigation.ScreenRectangle
Packages that use ScreenRectangle
Package
Description
-
Uses of ScreenRectangle in com.mojang.realmsclient.gui.screens.configuration
Methods in com.mojang.realmsclient.gui.screens.configuration with parameters of type ScreenRectangle -
Uses of ScreenRectangle in net.minecraft.client.gui
Fields in net.minecraft.client.gui with type parameters of type ScreenRectangleModifier and TypeFieldDescriptionprivate final Deque
<ScreenRectangle> GuiGraphics.ScissorStack.stack
Methods in net.minecraft.client.gui that return ScreenRectangleModifier and TypeMethodDescriptionFont.PreparedText.bounds()
Font.PreparedTextBuilder.bounds()
GuiGraphics.ScissorStack.peek()
GuiGraphics.peekScissorStack()
Neo: Returns the top-most scissor rectangle, if present, for use with customGuiElementRenderState
s andPictureInPictureRenderState
sGuiGraphics.ScissorStack.pop()
GuiGraphics.ScissorStack.push
(ScreenRectangle pScissor) Pushes a screen rectangle onto the scissor stack.Methods in net.minecraft.client.gui with parameters of type ScreenRectangleModifier and TypeMethodDescriptionGuiGraphics.ScissorStack.push
(ScreenRectangle pScissor) Pushes a screen rectangle onto the scissor stack. -
Uses of ScreenRectangle in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components that return ScreenRectangleModifier and TypeMethodDescriptionScrollableLayout.Container.getBorderForArrowNavigation
(ScreenDirection pDirection) AbstractWidget.getRectangle()
Methods in net.minecraft.client.gui.components with parameters of type ScreenRectangleModifier and TypeMethodDescriptionprivate ClientTooltipPositioner
WidgetTooltipHolder.createTooltipPositioner
(ScreenRectangle pScreenRectangle, boolean pHovering, boolean pFocused) void
WidgetTooltipHolder.refreshTooltipForNextRenderPass
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, boolean pHovering, boolean pFocused, ScreenRectangle pScreenRectangle) -
Uses of ScreenRectangle in net.minecraft.client.gui.components.events
Methods in net.minecraft.client.gui.components.events that return ScreenRectangleModifier and TypeMethodDescriptiondefault ScreenRectangle
GuiEventListener.getBorderForArrowNavigation
(ScreenDirection pDirection) default ScreenRectangle
GuiEventListener.getRectangle()
Methods in net.minecraft.client.gui.components.events with parameters of type ScreenRectangleModifier and TypeMethodDescriptionprivate ComponentPath
ContainerEventHandler.nextFocusPathInDirection
(ScreenRectangle pRectangle, ScreenDirection pDirection, GuiEventListener pListener, FocusNavigationEvent pEvent) Calculates the next focus path in a specific direction.private ComponentPath
ContainerEventHandler.nextFocusPathVaguelyInDirection
(ScreenRectangle pRectangle, ScreenDirection pDirection, GuiEventListener pListener, FocusNavigationEvent pEvent) Calculates the next focus path in a vague direction. -
Uses of ScreenRectangle in net.minecraft.client.gui.components.tabs
Fields in net.minecraft.client.gui.components.tabs declared as ScreenRectangleMethods in net.minecraft.client.gui.components.tabs that return ScreenRectangleMethods in net.minecraft.client.gui.components.tabs with parameters of type ScreenRectangleModifier and TypeMethodDescriptionvoid
GridLayoutTab.doLayout
(ScreenRectangle pRectangle) void
LoadingTab.doLayout
(ScreenRectangle pRectangle) void
Tab.doLayout
(ScreenRectangle pRectangle) void
TabManager.setTabArea
(ScreenRectangle pTabArea) -
Uses of ScreenRectangle in net.minecraft.client.gui.layouts
Methods in net.minecraft.client.gui.layouts that return ScreenRectangleMethods in net.minecraft.client.gui.layouts with parameters of type ScreenRectangleModifier and TypeMethodDescriptionstatic void
FrameLayout.alignInRectangle
(LayoutElement pChild, ScreenRectangle pRectangle, float pDeltaX, float pDeltaY) static void
FrameLayout.centerInRectangle
(LayoutElement pChild, ScreenRectangle pRectangle) -
Uses of ScreenRectangle in net.minecraft.client.gui.render
Fields in net.minecraft.client.gui.render declared as ScreenRectangleModifier and TypeFieldDescriptionprivate ScreenRectangle
GuiRenderer.previousScissorArea
private final ScreenRectangle
GuiRenderer.Draw.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiRenderer.MeshToDraw.scissorArea
The field for thescissorArea
record component.Fields in net.minecraft.client.gui.render with type parameters of type ScreenRectangleModifier and TypeFieldDescriptionprivate static final Comparator
<ScreenRectangle> GuiRenderer.SCISSOR_COMPARATOR
Methods in net.minecraft.client.gui.render that return ScreenRectangleModifier and TypeMethodDescriptionGuiRenderer.Draw.scissorArea()
Returns the value of thescissorArea
record component.GuiRenderer.MeshToDraw.scissorArea()
Returns the value of thescissorArea
record component.Methods in net.minecraft.client.gui.render with parameters of type ScreenRectangleModifier and TypeMethodDescriptionprivate void
GuiRenderer.enableScissor
(ScreenRectangle pScissorArea, RenderPass pRenderPass) private void
GuiRenderer.recordMesh
(BufferBuilder pBufferBuilder, RenderPipeline pPipeline, TextureSetup pTextureSetup, ScreenRectangle pScissorArea) private boolean
GuiRenderer.scissorChanged
(ScreenRectangle pScissorArea, ScreenRectangle pOldScissorArea) Constructors in net.minecraft.client.gui.render with parameters of type ScreenRectangleModifierConstructorDescription(package private)
Draw
(GpuBuffer vertexBuffer, int baseVertex, VertexFormat.Mode mode, int indexCount, RenderPipeline pipeline, TextureSetup textureSetup, ScreenRectangle scissorArea) Creates an instance of aDraw
record class.(package private)
MeshToDraw
(MeshData mesh, RenderPipeline pipeline, TextureSetup textureSetup, ScreenRectangle scissorArea) Creates an instance of aMeshToDraw
record class. -
Uses of ScreenRectangle in net.minecraft.client.gui.render.state
Fields in net.minecraft.client.gui.render.state declared as ScreenRectangleModifier and TypeFieldDescriptionprivate final ScreenRectangle
BlitRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
ColoredRectangleRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiItemRenderState.bounds
private ScreenRectangle
GuiTextRenderState.bounds
private ScreenRectangle
GuiRenderState.lastElementBounds
private final ScreenRectangle
GuiItemRenderState.oversizedItemBounds
final ScreenRectangle
GuiTextRenderState.scissor
private final ScreenRectangle
BlitRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
ColoredRectangleRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GlyphEffectRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GlyphRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiItemRenderState.scissorArea
Methods in net.minecraft.client.gui.render.state that return ScreenRectangleModifier and TypeMethodDescriptionBlitRenderState.bounds()
Returns the value of thebounds
record component.ColoredRectangleRenderState.bounds()
Returns the value of thebounds
record component.GlyphEffectRenderState.bounds()
GlyphRenderState.bounds()
GuiItemRenderState.bounds()
GuiTextRenderState.bounds()
ScreenArea.bounds()
private ScreenRectangle
GuiItemRenderState.calculateBounds
(ScreenRectangle pRectangle) private ScreenRectangle
GuiItemRenderState.calculateOversizedItemBounds()
private static ScreenRectangle
BlitRenderState.getBounds
(int p_421782_, int p_422661_, int p_421883_, int p_421626_, org.joml.Matrix3x2f p_422718_, ScreenRectangle p_422518_) private static ScreenRectangle
ColoredRectangleRenderState.getBounds
(int p_421840_, int p_422646_, int p_422274_, int p_421750_, org.joml.Matrix3x2f p_421574_, ScreenRectangle p_421708_) GuiItemRenderState.oversizedItemBounds()
BlitRenderState.scissorArea()
Returns the value of thescissorArea
record component.ColoredRectangleRenderState.scissorArea()
Returns the value of thescissorArea
record component.GlyphEffectRenderState.scissorArea()
Returns the value of thescissorArea
record component.GlyphRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiElementRenderState.scissorArea()
GuiItemRenderState.scissorArea()
Methods in net.minecraft.client.gui.render.state with parameters of type ScreenRectangleModifier and TypeMethodDescriptionprivate ScreenRectangle
GuiItemRenderState.calculateBounds
(ScreenRectangle pRectangle) private static ScreenRectangle
BlitRenderState.getBounds
(int p_421782_, int p_422661_, int p_421883_, int p_421626_, org.joml.Matrix3x2f p_422718_, ScreenRectangle p_422518_) private static ScreenRectangle
ColoredRectangleRenderState.getBounds
(int p_421840_, int p_422646_, int p_422274_, int p_421750_, org.joml.Matrix3x2f p_421574_, ScreenRectangle p_421708_) private boolean
GuiRenderState.hasIntersection
(ScreenRectangle pRectangle, List<? extends ScreenArea> pScreenAreas) private void
GuiRenderState.navigateToAboveHighestElementWithIntersectingBounds
(ScreenRectangle pRectangle) private void
GuiRenderState.sumbitDebugRectangleIfEnabled
(ScreenRectangle pDebugRectangle) Constructors in net.minecraft.client.gui.render.state with parameters of type ScreenRectangleModifierConstructorDescriptionBlitRenderState
(RenderPipeline p_415865_, TextureSetup p_416394_, org.joml.Matrix3x2f p_415848_, int p_416365_, int p_416414_, int p_416112_, int p_416519_, float p_416693_, float p_415641_, float p_416035_, float p_415841_, int p_415610_, ScreenRectangle p_415846_) BlitRenderState
(RenderPipeline pipeline, TextureSetup textureSetup, org.joml.Matrix3x2f pose, int x0, int y0, int x1, int y1, float u0, float u1, float v0, float v1, int color, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aBlitRenderState
record class.ColoredRectangleRenderState
(RenderPipeline p_416046_, TextureSetup p_415678_, org.joml.Matrix3x2f p_416570_, int p_416448_, int p_416038_, int p_416700_, int p_416540_, int p_415887_, int p_416111_, ScreenRectangle p_416231_) ColoredRectangleRenderState
(RenderPipeline pipeline, TextureSetup textureSetup, org.joml.Matrix3x2f pose, int x0, int y0, int x1, int y1, int col1, int col2, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aColoredRectangleRenderState
record class.GlyphEffectRenderState
(org.joml.Matrix3x2f pose, BakedGlyph whiteGlyph, BakedGlyph.Effect effect, ScreenRectangle scissorArea) Creates an instance of aGlyphEffectRenderState
record class.GlyphRenderState
(org.joml.Matrix3x2f pose, BakedGlyph.GlyphInstance instance, ScreenRectangle scissorArea) Creates an instance of aGlyphRenderState
record class.GuiItemRenderState
(String p_416537_, org.joml.Matrix3x2f p_415977_, TrackingItemStackRenderState p_428820_, int p_415911_, int p_416633_, ScreenRectangle p_415823_) GuiTextRenderState
(Font p_426159_, FormattedCharSequence p_425925_, org.joml.Matrix3x2f p_415973_, int p_416612_, int p_416232_, int p_425576_, int p_426044_, boolean p_426039_, ScreenRectangle p_416431_) -
Uses of ScreenRectangle in net.minecraft.client.gui.render.state.pip
Fields in net.minecraft.client.gui.render.state.pip declared as ScreenRectangleModifier and TypeFieldDescriptionprivate final ScreenRectangle
GuiBannerResultRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiBookModelRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiEntityRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiProfilerChartRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiSignRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiSkinRenderState.bounds
The field for thebounds
record component.private final ScreenRectangle
GuiBannerResultRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiBookModelRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiEntityRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiProfilerChartRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiSignRenderState.scissorArea
The field for thescissorArea
record component.private final ScreenRectangle
GuiSkinRenderState.scissorArea
The field for thescissorArea
record component.Methods in net.minecraft.client.gui.render.state.pip that return ScreenRectangleModifier and TypeMethodDescriptionGuiBannerResultRenderState.bounds()
Returns the value of thebounds
record component.GuiBookModelRenderState.bounds()
Returns the value of thebounds
record component.GuiEntityRenderState.bounds()
Returns the value of thebounds
record component.GuiProfilerChartRenderState.bounds()
Returns the value of thebounds
record component.GuiSignRenderState.bounds()
Returns the value of thebounds
record component.GuiSkinRenderState.bounds()
Returns the value of thebounds
record component.OversizedItemRenderState.bounds()
static ScreenRectangle
PictureInPictureRenderState.getBounds
(int pX0, int pY0, int pX1, int pY1, ScreenRectangle pScissorArea) GuiBannerResultRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiBookModelRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiEntityRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiProfilerChartRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiSignRenderState.scissorArea()
Returns the value of thescissorArea
record component.GuiSkinRenderState.scissorArea()
Returns the value of thescissorArea
record component.OversizedItemRenderState.scissorArea()
PictureInPictureRenderState.scissorArea()
Methods in net.minecraft.client.gui.render.state.pip with parameters of type ScreenRectangleModifier and TypeMethodDescriptionstatic ScreenRectangle
PictureInPictureRenderState.getBounds
(int pX0, int pY0, int pX1, int pY1, ScreenRectangle pScissorArea) Constructors in net.minecraft.client.gui.render.state.pip with parameters of type ScreenRectangleModifierConstructorDescriptionGuiBannerResultRenderState
(ModelPart p_416229_, DyeColor p_416489_, BannerPatternLayers p_416057_, int p_416374_, int p_416493_, int p_415894_, int p_416726_, ScreenRectangle p_416459_) GuiBannerResultRenderState
(ModelPart flag, DyeColor baseColor, BannerPatternLayers resultBannerPatterns, int x0, int y0, int x1, int y1, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiBannerResultRenderState
record class.GuiBookModelRenderState
(BookModel p_415797_, ResourceLocation p_415682_, float p_415696_, float p_415739_, int p_416486_, int p_416556_, int p_416330_, int p_416572_, float p_416303_, ScreenRectangle p_415924_) GuiBookModelRenderState
(BookModel bookModel, ResourceLocation texture, float open, float flip, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiBookModelRenderState
record class.GuiEntityRenderState
(EntityRenderState p_415613_, org.joml.Vector3f p_416191_, org.joml.Quaternionf p_416283_, org.joml.Quaternionf p_415811_, int p_416659_, int p_415754_, int p_416420_, int p_415949_, float p_416526_, ScreenRectangle p_416040_) GuiEntityRenderState
(EntityRenderState renderState, org.joml.Vector3f translation, org.joml.Quaternionf rotation, org.joml.Quaternionf overrideCameraAngle, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiEntityRenderState
record class.GuiProfilerChartRenderState
(List<ResultField> p_415952_, int p_415838_, int p_415988_, int p_416491_, int p_416487_, ScreenRectangle p_415627_) GuiProfilerChartRenderState
(List<ResultField> chartData, int x0, int y0, int x1, int y1, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiProfilerChartRenderState
record class.GuiSignRenderState
(Model p_416587_, WoodType p_416061_, int p_415990_, int p_415912_, int p_416122_, int p_415541_, float p_416168_, ScreenRectangle p_415895_) GuiSignRenderState
(Model signModel, WoodType woodType, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiSignRenderState
record class.GuiSkinRenderState
(PlayerModel p_416539_, ResourceLocation p_416375_, float p_415701_, float p_415592_, float p_416289_, int p_416447_, int p_415995_, int p_416186_, int p_416598_, float p_416100_, ScreenRectangle p_416137_) GuiSkinRenderState
(PlayerModel playerModel, ResourceLocation texture, float rotationX, float rotationY, float pivotY, int x0, int y0, int x1, int y1, float scale, ScreenRectangle scissorArea, ScreenRectangle bounds) Creates an instance of aGuiSkinRenderState
record class. -
Uses of ScreenRectangle in net.minecraft.client.gui.screens
Methods in net.minecraft.client.gui.screens that return ScreenRectangle -
Uses of ScreenRectangle in net.minecraft.client.gui.screens.inventory.tooltip
Fields in net.minecraft.client.gui.screens.inventory.tooltip declared as ScreenRectangleModifier and TypeFieldDescriptionprivate final ScreenRectangle
BelowOrAboveWidgetTooltipPositioner.screenRectangle
private final ScreenRectangle
MenuTooltipPositioner.screenRectangle
Constructors in net.minecraft.client.gui.screens.inventory.tooltip with parameters of type ScreenRectangleModifierConstructorDescriptionBelowOrAboveWidgetTooltipPositioner
(ScreenRectangle pScreenRectangle) MenuTooltipPositioner
(ScreenRectangle pScreenRectangle) -
Uses of ScreenRectangle in net.minecraft.client.gui.screens.recipebook
Fields in net.minecraft.client.gui.screens.recipebook declared as ScreenRectangleModifier and TypeFieldDescriptionprivate ScreenRectangle
RecipeBookComponent.magnifierIconPlacement