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 ScreenRect
ScreenRect.empty()
Returns an empty rect.default ScreenRect
Element.getBorder
(NavigationDirection direction) ScreenRect.getBorder
(NavigationDirection direction) Returns a rect representing the border of this rect in the givendirection
.default ScreenRect
Element.getNavigationFocus()
ScreenRect.intersection
(ScreenRect other) Returns the rect that intersects withother
, ornull
if they do not intersect.static ScreenRect
ScreenRect.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 GuiNavigationPath
ParentElement.computeChildPath
(ScreenRect focus, NavigationDirection direction, @Nullable Element focused, GuiNavigation navigation) private @Nullable GuiNavigationPath
ParentElement.computeInitialChildPath
(ScreenRect focus, NavigationDirection direction, @Nullable Element focused, GuiNavigation navigation) boolean
ScreenRect.contains
(ScreenRect other) ScreenRect.intersection
(ScreenRect other) Returns the rect that intersects withother
, ornull
if they do not intersect.boolean
ScreenRect.intersects
(ScreenRect other) boolean
ScreenRect.overlaps
(ScreenRect other) Returns whether this rect overlaps withrect
in both axes.boolean
ScreenRect.overlaps
(ScreenRect other, NavigationAxis axis) Returns whether this rect overlaps withrect
inaxis
.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 ScreenRect
GuiRenderer.Draw.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
GuiRenderer.Preparation.scissorArea
The field for thescissorArea
record component.private @Nullable ScreenRect
GuiRenderer.scissorArea
Fields in net.minecraft.client.gui.render with type parameters of type ScreenRectModifier and TypeFieldDescriptionprivate static final Comparator
<ScreenRect> GuiRenderer.SCISSOR_AREA_COMPARATOR
Methods in net.minecraft.client.gui.render that return ScreenRectModifier and TypeMethodDescriptionGuiRenderer.Draw.scissorArea()
Returns the value of thescissorArea
record component.GuiRenderer.Preparation.scissorArea()
Returns the value of thescissorArea
record component.Methods in net.minecraft.client.gui.render with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate void
GuiRenderer.enableScissor
(ScreenRect scissorArea, RenderPass pass) private void
GuiRenderer.endBuffer
(BufferBuilder builder, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRect scissorArea) private boolean
GuiRenderer.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 ScreenRect
ColoredQuadGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
ItemGuiElementRenderState.bounds
private @Nullable ScreenRect
TextGuiElementRenderState.bounds
private final @Nullable ScreenRect
TexturedQuadGuiElementRenderState.bounds
The field for thebounds
record component.final @Nullable ScreenRect
TextGuiElementRenderState.clipBounds
private @Nullable ScreenRect
GuiRenderState.currentLayerBounds
private final @Nullable ScreenRect
ItemGuiElementRenderState.oversizedBounds
private final @Nullable ScreenRect
ColoredQuadGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
GlyphEffectGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
GlyphGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
ItemGuiElementRenderState.scissorArea
private final @Nullable ScreenRect
TexturedQuadGuiElementRenderState.scissorArea
The field for thescissorArea
record component.Methods in net.minecraft.client.gui.render.state that return ScreenRectModifier and TypeMethodDescriptionColoredQuadGuiElementRenderState.bounds()
Returns the value of thebounds
record component.GlyphEffectGuiElementRenderState.bounds()
GlyphGuiElementRenderState.bounds()
GuiElementRenderState.bounds()
ItemGuiElementRenderState.bounds()
TextGuiElementRenderState.bounds()
TexturedQuadGuiElementRenderState.bounds()
Returns the value of thebounds
record component.private static @Nullable ScreenRect
ColoredQuadGuiElementRenderState.createBounds
(int x0, int y0, int x1, int y1, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private @Nullable ScreenRect
ItemGuiElementRenderState.createBounds
(ScreenRect screenRect) private static @Nullable ScreenRect
TexturedQuadGuiElementRenderState.createBounds
(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private @Nullable ScreenRect
ItemGuiElementRenderState.createOversizedBounds()
ItemGuiElementRenderState.oversizedBounds()
ColoredQuadGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.GlyphEffectGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.GlyphGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.ItemGuiElementRenderState.scissorArea()
SimpleGuiElementRenderState.scissorArea()
TexturedQuadGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.Methods in net.minecraft.client.gui.render.state with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate boolean
GuiRenderState.anyIntersect
(ScreenRect bounds, @Nullable List<? extends GuiElementRenderState> elementRenderStates) private static @Nullable ScreenRect
ColoredQuadGuiElementRenderState.createBounds
(int x0, int y0, int x1, int y1, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private @Nullable ScreenRect
ItemGuiElementRenderState.createBounds
(ScreenRect screenRect) private static @Nullable ScreenRect
TexturedQuadGuiElementRenderState.createBounds
(int x1, int y1, int x2, int y2, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private void
GuiRenderState.findAndGoToLayerIntersecting
(ScreenRect bounds) private void
GuiRenderState.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) GlyphEffectGuiElementRenderState
(Matrix3x2f matrix3x2f, BakedGlyph bakedGlyph, BakedGlyph.Rectangle rectangle, @Nullable ScreenRect screenRect) GlyphGuiElementRenderState
(Matrix3x2f matrix3x2f, BakedGlyph.DrawnGlyph drawnGlyph, @Nullable ScreenRect screenRect) ItemGuiElementRenderState
(String name, Matrix3x2f pose, ItemRenderState 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) -
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 ScreenRect
BannerResultGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
BookModelGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
EntityGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
PlayerSkinGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
ProfilerChartGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
SignGuiElementRenderState.bounds
The field for thebounds
record component.private final @Nullable ScreenRect
BannerResultGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
BookModelGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
EntityGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
PlayerSkinGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
ProfilerChartGuiElementRenderState.scissorArea
The field for thescissorArea
record component.private final @Nullable ScreenRect
SignGuiElementRenderState.scissorArea
The field for thescissorArea
record component.Methods in net.minecraft.client.gui.render.state.special that return ScreenRectModifier and TypeMethodDescriptionBannerResultGuiElementRenderState.bounds()
Returns the value of thebounds
record component.BookModelGuiElementRenderState.bounds()
Returns the value of thebounds
record component.EntityGuiElementRenderState.bounds()
Returns the value of thebounds
record component.OversizedItemGuiElementRenderState.bounds()
PlayerSkinGuiElementRenderState.bounds()
Returns the value of thebounds
record component.ProfilerChartGuiElementRenderState.bounds()
Returns the value of thebounds
record component.SignGuiElementRenderState.bounds()
Returns the value of thebounds
record component.static @Nullable ScreenRect
SpecialGuiElementRenderState.createBounds
(int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) BannerResultGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.BookModelGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.EntityGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.OversizedItemGuiElementRenderState.scissorArea()
PlayerSkinGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.ProfilerChartGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.SignGuiElementRenderState.scissorArea()
Returns the value of thescissorArea
record component.SpecialGuiElementRenderState.scissorArea()
Methods in net.minecraft.client.gui.render.state.special with parameters of type ScreenRectModifier and TypeMethodDescriptionstatic @Nullable ScreenRect
SpecialGuiElementRenderState.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
(ModelPart flag, DyeColor color, BannerPatternsComponent bannerPatterns, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) BannerResultGuiElementRenderState
(ModelPart modelPart, 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 signModel, WoodType woodType, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) SignGuiElementRenderState
(Model model, 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 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 TypeMethodDescriptionvoid
GridScreenTab.refreshGrid
(ScreenRect tabArea) void
LoadingTab.refreshGrid
(ScreenRect tabArea) void
Tab.refreshGrid
(ScreenRect tabArea) void
TabManager.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 ScreenRect
FocusedTooltipPositioner.focus
private final ScreenRect
WidgetTooltipPositioner.focus
Methods in net.minecraft.client.gui.tooltip with parameters of type ScreenRectModifier and TypeMethodDescriptionprivate TooltipPositioner
TooltipState.createPositioner
(ScreenRect focus, boolean hovered, boolean focused) void
TooltipState.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()
TabNavigationWidget.getNavigationFocus()
default ScreenRect
Widget.getNavigationFocus()
Methods in net.minecraft.client.gui.widget with parameters of type ScreenRectModifier and TypeMethodDescriptionstatic void
SimplePositioningWidget.setPos
(Widget widget, ScreenRect rect) static void
SimplePositioningWidget.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