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.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.ScreenRect.method_71523(Matrix3x2f matrix3x2f) 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) 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.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectTextGuiElementRenderState.boundsThe field for theboundsrecord component.private final @Nullable ScreenRectTexturedQuadGuiElementRenderState.boundsThe field for theboundsrecord component.private @Nullable ScreenRectGuiRenderState.field_60455private final @Nullable ScreenRectColoredQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectGlyphGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectItemGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectTextGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final @Nullable ScreenRectTexturedQuadGuiElementRenderState.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.ElementRenderState.bounds()GlyphGuiElementRenderState.bounds()ItemGuiElementRenderState.bounds()Returns the value of theboundsrecord component.TextGuiElementRenderState.bounds()Returns the value of theboundsrecord component.TexturedQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.static @Nullable ScreenRectItemGuiElementRenderState.createBounds(int x, int y, Matrix3x2f pose, @Nullable ScreenRect scissorArea) static @Nullable ScreenRectTextGuiElementRenderState.createBounds(int x, int y, TextRenderState textRenderState, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private static @Nullable ScreenRectTexturedQuadGuiElementRenderState.method_71526(int int2, int int3, int int4, int int5, Matrix3x2f matrix3x2f, @Nullable ScreenRect screenRect) private static @Nullable ScreenRectColoredQuadGuiElementRenderState.method_71527(int int2, int int3, int int4, int int5, Matrix3x2f matrix3x2f, @Nullable ScreenRect screenRect) ColoredQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.GlyphGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.ItemGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.SimpleGuiElementRenderState.scissorArea()TextGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.TexturedQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.Methods in net.minecraft.client.gui.render.state with parameters of type ScreenRectModifier and TypeMethodDescriptionstatic @Nullable ScreenRectItemGuiElementRenderState.createBounds(int x, int y, Matrix3x2f pose, @Nullable ScreenRect scissorArea) static @Nullable ScreenRectTextGuiElementRenderState.createBounds(int x, int y, TextRenderState textRenderState, Matrix3x2f pose, @Nullable ScreenRect scissorArea) private static @Nullable ScreenRectTexturedQuadGuiElementRenderState.method_71526(int int2, int int3, int int4, int int5, Matrix3x2f matrix3x2f, @Nullable ScreenRect screenRect) private static @Nullable ScreenRectColoredQuadGuiElementRenderState.method_71527(int int2, int int3, int int4, int int5, Matrix3x2f matrix3x2f, @Nullable ScreenRect screenRect) private voidGuiRenderState.method_71529(@Nullable ScreenRect screenRect) private booleanGuiRenderState.method_71530(ScreenRect screenRect, @Nullable List<? extends ElementRenderState> list) private voidGuiRenderState.method_71532(ScreenRect screenRect) Constructors in net.minecraft.client.gui.render.state with parameters of type ScreenRectModifierConstructorDescriptionColoredQuadGuiElementRenderState(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, int int2, int int3, int int4, int int5, int int6, int int7, @Nullable ScreenRect screenRect) 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(RenderPipeline renderPipeline, TextureSetup textureSetup, Matrix3x2f matrix3x2f, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, int int2, int int3, @Nullable ScreenRect screenRect) ItemGuiElementRenderState(String name, Matrix3x2f pose, ItemRenderState itemStackRenderState, int x, int y, @Nullable ScreenRect scissorArea) ItemGuiElementRenderState(String string, Matrix3x2f matrix3x2f, ItemRenderState itemRenderState, int int2, int int3, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f pose, int x, int y, @Nullable ScreenRect scissorArea) TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) 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) 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 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.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.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(ModelPart modelPart, DyeColor dyeColor, BannerPatternsComponent bannerPatternsComponent, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect) BannerResultGuiElementRenderState(ModelPart modelPart, DyeColor dyeColor, BannerPatternsComponent bannerPatternsComponent, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) BookModelGuiElementRenderState(BookModel bookModel, Identifier identifier, float float2, float float3, int int2, int int3, int int4, int int5, float float4, @Nullable ScreenRect screenRect) 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 playerEntityModel, Identifier identifier, float float2, float float3, float float4, int int2, int int3, int int4, int int5, float float5, @Nullable ScreenRect screenRect) 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> list, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect) ProfilerChartGuiElementRenderState(List<ProfilerTiming> list, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect, @Nullable ScreenRect screenRect2) SignGuiElementRenderState(Model model, WoodType woodType, int int2, int int3, int int4, int int5, float float2, @Nullable ScreenRect screenRect) 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.screen.world
Methods in net.minecraft.client.gui.screen.world that return ScreenRectModifier and TypeMethodDescriptionExperimentsScreen.ExperimentsListWidget.getBorder(NavigationDirection direction) -
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.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 TypeMethodDescriptionClickableWidget.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