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.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) ScreenRect.intersection(ScreenRect other) Returns the rect that intersects withother, ornullif they do not intersect.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 @Nullable ScreenRectGuiRenderer.field_60034private final @Nullable ScreenRectGuiRenderer.Draw.scissorAreaThe field for thescissorArearecord component.Fields in net.minecraft.client.gui.render with type parameters of type ScreenRectModifier and TypeFieldDescriptionprivate static final Comparator<ScreenRect> GuiRenderer.field_60038Methods in net.minecraft.client.gui.render that return ScreenRectModifier and TypeMethodDescriptionGuiRenderer.Draw.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 buffer, 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, VertexFormat.DrawMode drawMode, @Nullable GpuBuffer gpuBuffer2, VertexFormat.IndexType indexType, int int2, 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.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.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.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) 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 string, Matrix3x2f matrix3x2f, ItemRenderState itemRenderState, int int2, int int3, @Nullable ScreenRect screenRect) TextGuiElementRenderState(TextRenderState textRenderState, Matrix3x2f matrix3x2f, int int2, int int3, @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) -
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.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.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()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) BookModelGuiElementRenderState(BookModel bookModel, Identifier identifier, float float2, float float3, int int2, int int3, int int4, int int5, float float4, @Nullable ScreenRect screenRect) EntityGuiElementRenderState(EntityRenderState entityRenderState, Vector3f vector3f, Quaternionf quaternionf, @Nullable Quaternionf quaternionf2, int int2, int int3, int int4, int int5, float float2, @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) ProfilerChartGuiElementRenderState(List<ProfilerTiming> list, int int2, int int3, int int4, int int5, @Nullable ScreenRect screenRect) SignGuiElementRenderState(Model model, WoodType woodType, int int2, int int3, int int4, int int5, float float2, @Nullable ScreenRect screenRect) -
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(boolean hovered, boolean focused, ScreenRect focus) 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)