public class UIRenderHelper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.client.shader.Framebuffer |
framebuffer
An FBO that has a stencil buffer for use wherever stencil are necessary.
|
| Constructor and Description |
|---|
UIRenderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
angledGradient(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Color color1,
Color color2) |
static void |
angledGradient(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Couple<Color> c) |
static void |
angledGradient(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int z,
int breadth,
int length,
Color color1,
Color color2)
x and y specify the middle point of the starting edge
|
static void |
angledGradient(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int z,
int breadth,
int length,
Couple<Color> c) |
static void |
breadcrumbArrow(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int z,
int width,
int height,
int indent,
Color startColor,
Color endColor) |
static void |
breadcrumbArrow(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int z,
int width,
int height,
int indent,
Couple<Color> colors) |
static void |
drawColoredTexture(com.mojang.blaze3d.matrix.MatrixStack ms,
Color c,
int x,
int y,
int z,
float tex_left,
float tex_top,
int width,
int height,
int sheet_width,
int sheet_height) |
static void |
drawColoredTexture(com.mojang.blaze3d.matrix.MatrixStack ms,
Color c,
int x,
int y,
int tex_left,
int tex_top,
int width,
int height) |
static void |
drawFramebuffer(float alpha) |
static void |
init() |
static void |
streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length) |
static void |
streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Color c) |
static void |
streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
int color) |
static void |
updateWindowSize(net.minecraft.client.MainWindow mainWindow) |
public static net.minecraft.client.shader.Framebuffer framebuffer
public static void updateWindowSize(net.minecraft.client.MainWindow mainWindow)
public static void init()
public static void drawFramebuffer(float alpha)
public static void streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length)
public static void streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
int color)
public static void streak(com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Color c)
public static void angledGradient(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Couple<Color> c)
public static void angledGradient(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int z,
int breadth,
int length,
Couple<Color> c)
public static void angledGradient(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int breadth,
int length,
Color color1,
Color color2)
public static void angledGradient(@Nonnull
com.mojang.blaze3d.matrix.MatrixStack ms,
float angle,
int x,
int y,
int z,
int breadth,
int length,
Color color1,
Color color2)
angle - the angle of the gradient in degrees; 0° means from left to rightcolor1 - the color at the starting edgecolor2 - the color at the ending edgebreadth - the total width of the gradientpublic static void breadcrumbArrow(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int z,
int width,
int height,
int indent,
Couple<Color> colors)
public static void breadcrumbArrow(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int z,
int width,
int height,
int indent,
Color startColor,
Color endColor)
public static void drawColoredTexture(com.mojang.blaze3d.matrix.MatrixStack ms,
Color c,
int x,
int y,
int tex_left,
int tex_top,
int width,
int height)
public static void drawColoredTexture(com.mojang.blaze3d.matrix.MatrixStack ms,
Color c,
int x,
int y,
int z,
float tex_left,
float tex_top,
int width,
int height,
int sheet_width,
int sheet_height)