Package codechicken.lib.gui.render
Interface GuiGraphicsExtension
- All Known Implementing Classes:
GuiGraphicsMixin
public interface GuiGraphicsExtension
An extension interface providing many various GUI rendering helpers.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidcc$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 voidcc$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 voidcc$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 voidcc$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 voidcc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders) default voidcc$blitDynamicSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, Borders borders, int color) default voidcc$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 voidcc$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 voidcc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, double x, double y, double width, double height) default voidcc$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 voidcc$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 voidcc$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 voidcc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect) default voidcc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int rotation, Rectangle rect, int argb) default voidcc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect) default voidcc$blitSprite(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, Rectangle rect, int argb) default voidcc$borderFill(double xMin, double yMin, double xMax, double yMax, double border, int fillColor, int borderColor) default voidcc$borderRect(double x, double y, double width, double height, double border, int fillColor, int borderColor) default voidcc$borderRect(Rectangle rect, double border, int fillColor, int borderColor) default voidOnly exists for visual symetry for cc$enableScissor.default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color) default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, String text, double x, double y, int color, boolean drawShadow) default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color) default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow) default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color) default voidcc$drawCenteredString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow) default voidcc$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 voidcc$drawString(net.minecraft.client.gui.Font font, @Nullable String text, double x, double y, int color) default voidcc$drawString(net.minecraft.client.gui.Font font, @Nullable String text, double x, double y, int color, boolean drawShadow) default voidcc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color) default voidcc$drawString(net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, double x, double y, int color, boolean drawShadow) default voidcc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color) default voidcc$drawString(net.minecraft.client.gui.Font font, net.minecraft.util.FormattedCharSequence text, double x, double y, int color, boolean drawShadow) default voidcc$enableScissor(double minX, double minY, double maxX, double maxY) default voidcc$enableScissor(Rectangle rect) default voidcc$fill(double xMin, double yMin, double xMax, double yMax, int color) default voiddefault voidcc$fill(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int color) default voidcc$fillGradient(double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz) default voidcc$fillGradient(com.mojang.blaze3d.pipeline.RenderPipeline pipeline, double xMin, double yMin, double xMax, double yMax, int col1, int col2, boolean hoz) default voidcc$fillGradientH(double xMin, double yMin, double xMax, double yMax, int col1, int col2) default voidcc$fillGradientH(Rectangle rect, int col1, int col2) default voidcc$fillGradientV(double xMin, double yMin, double xMax, double yMax, int col1, int col2) default voidcc$fillGradientV(Rectangle rect, int col1, int col2) default voidcc$renderItem(@Nullable net.minecraft.world.entity.LivingEntity entity, net.minecraft.world.item.ItemStack stack, double x, double y, int rand) default voidcc$renderItem(net.minecraft.world.item.ItemStack stack, double x, double y, int rand) default voidcc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y) default voidcc$renderItemDecorations(net.minecraft.client.gui.Font font, net.minecraft.world.item.ItemStack stack, double x, double y, @Nullable String text) default voidcc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int fillColor) default voidcc$shadedFill(double xMin, double yMin, double xMax, double yMax, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor) default voidcc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int fillColor) default voidcc$shadedRect(double x, double y, double width, double height, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor) default voidcc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int fillColor) default voidcc$shadedRect(Rectangle rect, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor) default voidcc$textHighlight(double minX, double minY, double maxX, double maxY) default voidcc$tooltipBackground(double x, double y, double width, double height, int bgColorTop, int bgColorBottom, int borderColorTop, int borderColorBottom, boolean empty) default voidcc$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
-
cc$fillGradientH
default void cc$fillGradientH(double xMin, double yMin, double xMax, double yMax, int col1, int col2) -
cc$fillGradientV
-
cc$fillGradientV
default void cc$fillGradientV(double xMin, double yMin, double xMax, double yMax, int col1, int col2) -
cc$fill
-
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
-
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
-
cc$blitDynamicSprite
-
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
-
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)
-