Class RenderStateUtils

java.lang.Object
codechicken.lib.gui.render.RenderStateUtils

public class RenderStateUtils extends Object
Created by covers1624 on 4/11/26.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    blit(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int rotation, float u0, float u1, float v0, float v1, int color)
     
    static void
    blitDynamic(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int xPos, int yPos, int xSize, int ySize, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
     
    static void
    borderFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int borderColor, int fillColor)
     
    static void
    emitQuad(com.mojang.blaze3d.vertex.VertexConsumer builder, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, float textureX, float textureY, int width, int height, int color)
     
    static void
    fill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double xMin, double yMin, double xMax, double yMax, int color)
     
    static void
    fillGradientH(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2)
     
    static void
    fillGradientV(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2)
     
    static void
    shadedFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RenderStateUtils

      public RenderStateUtils()
  • Method Details

    • fill

      public static void fill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double xMin, double yMin, double xMax, double yMax, int color)
    • fillGradientH

      public static void fillGradientH(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2)
    • fillGradientV

      public static void fillGradientV(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int col1, int col2)
    • borderFill

      public static void borderFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int borderColor, int fillColor)
    • shadedFill

      public static void shadedFill(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, double border, int topLeftColor, int bottomRightColor, int cornerMixColor, int fillColor)
    • blit

      public static void blit(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, double x0, double x1, double y0, double y1, int rotation, float u0, float u1, float v0, float v1, int color)
    • blitDynamic

      public static void blitDynamic(com.mojang.blaze3d.vertex.VertexConsumer consumer, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int xPos, int yPos, int xSize, int ySize, int topBorder, int leftBorder, int bottomBorder, int rightBorder, int color)
    • emitQuad

      public static void emitQuad(com.mojang.blaze3d.vertex.VertexConsumer builder, org.joml.Matrix3x2f pose, net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, int x, int y, float textureX, float textureY, int width, int height, int color)