public class RenderHelper
extends java.lang.Object
| Constructor and Description |
|---|
RenderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
drawArrow(double xBegin,
double yBegin,
double xEnd,
double yEnd,
int color) |
static void |
drawLine(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double xBegin,
double yBegin,
double xEnd,
double yEnd,
int color) |
static void |
drawPoint(double x,
double y,
int color) |
static void |
drawTexture(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int u,
int v,
int width,
int height,
net.minecraft.util.ResourceLocation resource) |
static double[] |
getGLTranslation(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double scale) |
static double |
getGuiScaleFactor() |
static void |
renderBlock(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.block.BlockState block,
float x,
float y,
float z,
float rotate,
float scale) |
static void |
renderChest(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float x,
float y,
float rotate,
float scale,
float lidAngle) |
static void |
renderEntity(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
double scale,
double yaw,
double pitch,
net.minecraft.entity.LivingEntity livingEntity) |
static void |
scissor(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int w,
int h) |
static void |
stopScissor() |
public static void drawArrow(double xBegin,
double yBegin,
double xEnd,
double yEnd,
int color)
public static void drawLine(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double xBegin,
double yBegin,
double xEnd,
double yEnd,
int color)
public static void drawPoint(double x,
double y,
int color)
public static void renderEntity(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
double scale,
double yaw,
double pitch,
net.minecraft.entity.LivingEntity livingEntity)
public static void renderChest(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
float x,
float y,
float rotate,
float scale,
float lidAngle)
public static void renderBlock(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
net.minecraft.block.BlockState block,
float x,
float y,
float z,
float rotate,
float scale)
public static void scissor(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int w,
int h)
public static void stopScissor()
public static void drawTexture(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
int x,
int y,
int u,
int v,
int width,
int height,
net.minecraft.util.ResourceLocation resource)
public static double[] getGLTranslation(com.mojang.blaze3d.matrix.MatrixStack matrixStack,
double scale)
public static double getGuiScaleFactor()