Interface GuiGraphicsExtension

All Known Implementing Classes:
GuiGraphicsMixin

public interface GuiGraphicsExtension
An extension interface providing many various GUI rendering helpers.
See Also:
  • GuiGraphics
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, int width, int height, int topBorder, int leftBorder, int bottomBorder, int rightBorder)
     
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, int width, int height, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
     
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int topBorder, int leftBorder, int bottomBorder, int rightBorder)
     
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
     
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders)
     
    default void
    cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders, int color)
     
    default void
    cc$blitPartialSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double x0, double y0, double x1, double y1, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float uMin, float vMin, float uMax, float vMax)
     
    default void
    cc$blitPartialSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double x0, double y0, double x1, double y1, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float uMin, float vMin, float uMax, float vMax, int argb)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, double x, double y, double width, double height)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, double x, double y, double width, double height, int argb)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, double x, double y, double width, double height)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, double x, double y, double width, double height, int argb)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect, int argb)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect)
     
    default void
    cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int argb)
     
    default void
    cc$borderFill(double xMin, double yMin, double xMax, double yMax, double border, int fillColor, int borderColor)
     
    default void
    cc$borderRect(double x, double y, double width, double height, double border, int fillColor, int borderColor)
     
    default void
    cc$borderRect(Rectangle rect, double border, int fillColor, int borderColor)
     
    default void
    Only exists for visual symetry for cc$enableScissor.
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color)
     
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color)
     
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color)
     
    default void
    cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$drawScrollingString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, double maxX, int color, boolean shadow, boolean scissor)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, @Nullable String text, double x, double y, int color)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, @Nullable String text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color)
     
    default void
    cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow)
     
    default void
    cc$enableScissor(double minX, double minY, double maxX, double maxY)
     
    default void
     
    default void
    cc$fill(double xMin, double yMin, double xMax, double yMax, int color)
     
    default void
    cc$fill(Rectangle rect, int color)
     
    default void
    cc$fill(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int color)
     
    default void
    cc$fillGradient(double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz)
     
    default void
    cc$fillGradient(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz)
     
    default void
    cc$fillGradientH(double xMin, double yMin, double xMax, double yMax, int col1, int col2)
     
    default void
    cc$fillGradientH(Rectangle rect, int col1, int col2)
     
    default void
    cc$fillGradientV(double xMin, double yMin, double xMax, double yMax, int col1, int col2)
     
    default void
    cc$fillGradientV(Rectangle rect, int col1, int col2)
     
    default void
    cc$renderItem(@Nullable net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, double x, double y, int rand)
     
    default void
    cc$renderItem(net.minecraft.world.item.ItemStack stack, double x, double y, int rand)
     
    default void
    cc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y)
     
    default void
    cc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y, @Nullable String text)
     
    default void
    cc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int fillColor)
     
    default void
    cc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
     
    default void
    cc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int fillColor)
     
    default void
    cc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
     
    default void
    cc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int fillColor)
     
    default void
    cc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
     
    default void
    cc$textHighlight(double minX, double minY, double maxX, double maxY)
     
    default void
    cc$tooltipBackground(double x, double y, double width, double height, int bgColorTop, int bgColorBottom, int borderColorTop, int borderColorBottom, boolean empty)
     
    default void
    cc$tooltipBackground(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.gui.render.TextureSetup texture, double x, double y, double width, double height, int bgColorTop, int bgColorBottom, int borderColorTop, int borderColorBottom, boolean empty)
     
  • Method Details

    • cc$fillGradientH

      default void cc$fillGradientH(Rectangle rect, int col1, int col2)
    • cc$fillGradientH

      default void cc$fillGradientH(double xMin, double yMin, double xMax, double yMax, int col1, int col2)
    • cc$fillGradientV

      default void cc$fillGradientV(Rectangle rect, int col1, int col2)
    • cc$fillGradientV

      default void cc$fillGradientV(double xMin, double yMin, double xMax, double yMax, int col1, int col2)
    • cc$fill

      default void cc$fill(Rectangle rect, int color)
    • cc$fill

      default void cc$fill(double xMin, double yMin, double xMax, double yMax, int color)
    • cc$fill

      default void cc$fill(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int color)
    • cc$fillGradient

      default void cc$fillGradient(double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz)
    • cc$fillGradient

      default void cc$fillGradient(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz)
    • cc$borderRect

      default void cc$borderRect(Rectangle rect, double border, int fillColor, int borderColor)
    • cc$borderRect

      default void cc$borderRect(double x, double y, double width, double height, double border, int fillColor, int borderColor)
    • cc$borderFill

      default void cc$borderFill(double xMin, double yMin, double xMax, double yMax, double border, int fillColor, int borderColor)
    • cc$shadedRect

      default void cc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int fillColor)
    • cc$shadedRect

      default void cc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
    • cc$shadedRect

      default void cc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int fillColor)
    • cc$shadedRect

      default void cc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
    • cc$shadedFill

      default void cc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int fillColor)
    • cc$shadedFill

      default void cc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
    • cc$tooltipBackground

      default void cc$tooltipBackground(double x, double y, double width, double height, int bgColorTop, int bgColorBottom, int borderColorTop, int borderColorBottom, boolean empty)
    • cc$tooltipBackground

      default void cc$tooltipBackground(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.gui.render.TextureSetup texture, double x, double y, double width, double height, int bgColorTop, int bgColorBottom, int borderColorTop, int borderColorBottom, boolean empty)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int argb)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, double x, double y, double width, double height)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, double x, double y, double width, double height, int argb)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect, int argb)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, double x, double y, double width, double height)
    • cc$blitSprite

      default void cc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, double x, double y, double width, double height, int argb)
    • cc$blitPartialSprite

      default void cc$blitPartialSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double x0, double y0, double x1, double y1, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float uMin, float vMin, float uMax, float vMax)
    • cc$blitPartialSprite

      default void cc$blitPartialSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double x0, double y0, double x1, double y1, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float uMin, float vMin, float uMax, float vMax, int argb)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders, int color)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int topBorder, int leftBorder, int bottomBorder, int rightBorder)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, int width, int height, int topBorder, int leftBorder, int bottomBorder, int rightBorder)
    • cc$blitDynamicSprite

      default void cc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, int width, int height, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color, boolean drawShadow)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color)
    • cc$drawCenteredString

      default void cc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, @Nullable @Nullable String text, double x, double y, int color)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, @Nullable @Nullable String text, double x, double y, int color, boolean drawShadow)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color)
    • cc$drawString

      default void cc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow)
    • cc$drawScrollingString

      default void cc$drawScrollingString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, double maxX, int color, boolean shadow, boolean scissor)
    • cc$textHighlight

      default void cc$textHighlight(double minX, double minY, double maxX, double maxY)
    • cc$enableScissor

      default void cc$enableScissor(Rectangle rect)
    • cc$enableScissor

      default void cc$enableScissor(double minX, double minY, double maxX, double maxY)
    • cc$disableScissor

      default void cc$disableScissor()
      Only exists for visual symetry for cc$enableScissor.
    • cc$renderItem

      default void cc$renderItem(net.minecraft.world.item.ItemStack stack, double x, double y, int rand)
    • cc$renderItem

      default void cc$renderItem(@Nullable @Nullable net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, double x, double y, int rand)
    • cc$renderItemDecorations

      default void cc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y)
    • cc$renderItemDecorations

      default void cc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y, @Nullable @Nullable String text)