Uses of Record Class
net.minecraft.client.gui.ScreenRect
Packages that use ScreenRect
Package
Description
-
Uses of ScreenRect in net.minecraft.client.font
Fields in net.minecraft.client.font declared as ScreenRectModifier and TypeFieldDescriptionprivate final ScreenRectTextConsumer.Transformation.scissorThe field for thescissorrecord component.Methods in net.minecraft.client.font that return ScreenRectModifier and TypeMethodDescription@Nullable ScreenRectTextRenderer.Drawer.getScreenRect()@Nullable ScreenRectTextRenderer.GlyphDrawable.getScreenRect()@Nullable ScreenRectTextConsumer.Transformation.scissor()Returns the value of thescissorrecord component.Methods in net.minecraft.client.font with parameters of type ScreenRectConstructors in net.minecraft.client.font with parameters of type ScreenRectModifierConstructorDescriptionTransformation(Matrix3x2fc pose, float opacity, @Nullable ScreenRect scissor) Creates an instance of aTransformationrecord class. -
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()@Nullable ScreenRectScreenRect.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.@Nullable ScreenRectDrawContext.ScissorStack.peekLast()@Nullable ScreenRectDrawContext.ScissorStack.pop()DrawContext.ScissorStack.push(ScreenRect rect) ScreenRect.transform(Matrix3x2fc matrix) ScreenRect.transformEachVertex(Matrix3x2fc matrix) 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) @Nullable ScreenRectScreenRect.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 ScreenRectGuiRenderer.Draw.scissorAreaThe field for thescissorArearecord component.private final ScreenRectGuiRenderer.Preparation.scissorAreaThe field for thescissorArearecord component.private 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 TypeMethodDescription@Nullable ScreenRectGuiRenderer.Draw.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectGuiRenderer.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(@Nullable ScreenRect oldScissorArea, @Nullable ScreenRect newScissorArea) Constructors in net.minecraft.client.gui.render with parameters of type ScreenRectModifierConstructorDescription(package private)Draw(GpuBuffer vertexBuffer, int baseVertex, VertexFormat.DrawMode mode, int indexCount, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRect scissorArea) Creates an instance of aDrawrecord class.(package private)Preparation(BuiltBuffer mesh, RenderPipeline pipeline, TextureSetup textureSetup, @Nullable ScreenRect scissorArea) Creates an instance of aPreparationrecord class. -
Uses of ScreenRect in net.minecraft.client.gui.render.state
Fields in net.minecraft.client.gui.render.state declared as ScreenRectModifier and TypeFieldDescriptionprivate final ScreenRectColoredQuadGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectItemGuiElementRenderState.boundsprivate ScreenRectTextGuiElementRenderState.boundsprivate final ScreenRectTexturedQuadGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectTiledTexturedQuadGuiElementRenderState.boundsThe field for theboundsrecord component.final ScreenRectTextGuiElementRenderState.clipBoundsprivate ScreenRectGuiRenderState.currentLayerBoundsprivate final ScreenRectItemGuiElementRenderState.oversizedBoundsprivate final ScreenRectColoredQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectGlyphGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectItemGuiElementRenderState.scissorAreaprivate final ScreenRectTexturedQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectTiledTexturedQuadGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.Methods in net.minecraft.client.gui.render.state that return ScreenRectModifier and TypeMethodDescription@Nullable ScreenRectColoredQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectGlyphGuiElementRenderState.bounds()@Nullable ScreenRectGuiElementRenderState.bounds()@Nullable ScreenRectItemGuiElementRenderState.bounds()@Nullable ScreenRectTextGuiElementRenderState.bounds()@Nullable ScreenRectTexturedQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.bounds()Returns the value of theboundsrecord component.private static @Nullable ScreenRectColoredQuadGuiElementRenderState.createBounds(int x0, int y0, int x1, int y1, Matrix3x2fc 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()@Nullable ScreenRectItemGuiElementRenderState.oversizedBounds()@Nullable ScreenRectColoredQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectGlyphGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectItemGuiElementRenderState.scissorArea()@Nullable ScreenRectSimpleGuiElementRenderState.scissorArea()@Nullable ScreenRectTexturedQuadGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectTiledTexturedQuadGuiElementRenderState.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, Matrix3x2fc 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, Matrix3x2fc pose, int x0, int y0, int x1, int y1, int col1, int col2, @Nullable ScreenRect scissorArea) ColoredQuadGuiElementRenderState(RenderPipeline pipeline, TextureSetup textureSetup, Matrix3x2fc pose, int x0, int y0, int x1, int y1, int col1, int col2, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aColoredQuadGuiElementRenderStaterecord class.GlyphGuiElementRenderState(Matrix3x2fc pose, TextDrawable renderable, @Nullable ScreenRect scissorArea) Creates an instance of aGlyphGuiElementRenderStaterecord class.ItemGuiElementRenderState(String name, Matrix3x2f pose, KeyedItemRenderState state, int x, int y, @Nullable ScreenRect scissor) TextGuiElementRenderState(TextRenderer textRenderer, OrderedText orderedText, Matrix3x2fc matrix, int x, int y, int color, int backgroundColor, boolean shadow, boolean trackEmpty, @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 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, @Nullable ScreenRect bounds) Creates an instance of aTexturedQuadGuiElementRenderStaterecord class.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 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, @Nullable ScreenRect bounds) Creates an instance of aTiledTexturedQuadGuiElementRenderStaterecord class. -
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 ScreenRectBannerResultGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectBookModelGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectEntityGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectPlayerSkinGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectProfilerChartGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectSignGuiElementRenderState.boundsThe field for theboundsrecord component.private final ScreenRectBannerResultGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectBookModelGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectEntityGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectPlayerSkinGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectProfilerChartGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.private final ScreenRectSignGuiElementRenderState.scissorAreaThe field for thescissorArearecord component.Methods in net.minecraft.client.gui.render.state.special that return ScreenRectModifier and TypeMethodDescription@Nullable ScreenRectBannerResultGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectBookModelGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectEntityGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectOversizedItemGuiElementRenderState.bounds()@Nullable ScreenRectPlayerSkinGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectProfilerChartGuiElementRenderState.bounds()Returns the value of theboundsrecord component.@Nullable ScreenRectSignGuiElementRenderState.bounds()Returns the value of theboundsrecord component.static @Nullable ScreenRectSpecialGuiElementRenderState.createBounds(int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) @Nullable ScreenRectBannerResultGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectBookModelGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectEntityGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectOversizedItemGuiElementRenderState.scissorArea()@Nullable ScreenRectPlayerSkinGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectProfilerChartGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectSignGuiElementRenderState.scissorArea()Returns the value of thescissorArearecord component.@Nullable ScreenRectSpecialGuiElementRenderState.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 model, DyeColor color, BannerPatternsComponent bannerPatterns, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) BannerResultGuiElementRenderState(BannerFlagBlockModel flag, DyeColor baseColor, BannerPatternsComponent resultBannerPatterns, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aBannerResultGuiElementRenderStaterecord class.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 texture, float open, float flip, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aBookModelGuiElementRenderStaterecord class.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 renderState, Vector3f translation, Quaternionf rotation, @Nullable Quaternionf overrideCameraAngle, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aEntityGuiElementRenderStaterecord class.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 playerModel, Identifier texture, float xRotation, float yRotation, float yPivot, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aPlayerSkinGuiElementRenderStaterecord class.ProfilerChartGuiElementRenderState(List<ProfilerTiming> chartData, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea) ProfilerChartGuiElementRenderState(List<ProfilerTiming> chartData, int x1, int y1, int x2, int y2, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aProfilerChartGuiElementRenderStaterecord class.SignGuiElementRenderState(Model.SinglePartModel part, WoodType woodType, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea) SignGuiElementRenderState(Model.SinglePartModel signModel, WoodType woodType, int x1, int y1, int x2, int y2, float scale, @Nullable ScreenRect scissorArea, @Nullable ScreenRect bounds) Creates an instance of aSignGuiElementRenderStaterecord class. -
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