@Environment(value=CLIENT) public abstract class DrawableHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static Identifier |
BACKGROUND_TEXTURE
The texture used by options for background.
|
static Identifier |
GUI_ICONS_TEXTURE
The texture of various icons and widgets used for rendering ingame indicators.
|
static Identifier |
STATS_ICON_TEXTURE
The texture of icons used in the stats screen.
|
private int |
zOffset
The z offset used by
DrawableHelper. |
| Constructor and Description |
|---|
DrawableHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawCenteredString(MatrixStack matrixStack,
TextRenderer textRenderer,
String string,
int int2,
int int3,
int int4) |
protected void |
drawHorizontalLine(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
static void |
drawSprite(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
int int6,
Sprite sprite) |
void |
drawString(MatrixStack matrixStack,
TextRenderer textRenderer,
String string,
int int2,
int int3,
int int4) |
static void |
drawTexture(MatrixStack matrixStack,
int int2,
int int3,
float float2,
float float3,
int int4,
int int5,
int int6,
int int7) |
static void |
drawTexture(MatrixStack matrixStack,
int int2,
int int3,
int int4,
float float2,
float float3,
int int5,
int int6,
int int7,
int int8) |
static void |
drawTexture(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
float float2,
float float3,
int int6,
int int7,
int int8,
int int9) |
void |
drawTexture(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
int int6,
int int7) |
private static void |
drawTexture(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
int int6,
int int7,
int int8,
float float2,
float float3,
int int9,
int int10) |
private static void |
drawTexturedQuad(Matrix4f matrix4f,
int int2,
int int3,
int int4,
int int5,
int int6,
float float2,
float float3,
float float4,
float float5) |
protected void |
drawVerticalLine(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5) |
private static void |
fill(Matrix4f matrix,
int x1,
int y1,
int x2,
int y2,
int color) |
static void |
fill(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
int int6) |
protected void |
fillGradient(MatrixStack matrixStack,
int int2,
int int3,
int yEnd,
int colorStart,
int colorEnd,
int int4) |
int |
getZOffset() |
private void |
method_27533(Matrix4f matrix4f,
int int2,
int int3,
int int4,
int int5,
int int6,
int int7) |
void |
method_27534(MatrixStack matrixStack,
TextRenderer textRenderer,
Text text,
int int2,
int int3,
int int4) |
void |
method_27535(MatrixStack matrixStack,
TextRenderer textRenderer,
Text text,
int int2,
int int3,
int int4) |
void |
setZOffset(int zOffset) |
public static final Identifier BACKGROUND_TEXTURE
public static final Identifier STATS_ICON_TEXTURE
public static final Identifier GUI_ICONS_TEXTURE
private int zOffset
DrawableHelper.protected void drawHorizontalLine(MatrixStack matrixStack, int int2, int int3, int int4, int int5)
protected void drawVerticalLine(MatrixStack matrixStack, int int2, int int3, int int4, int int5)
public static void fill(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6)
private static void fill(Matrix4f matrix, int x1, int y1, int x2, int y2, int color)
protected void fillGradient(MatrixStack matrixStack, int int2, int int3, int yEnd, int colorStart, int colorEnd, int int4)
private void method_27533(Matrix4f matrix4f, int int2, int int3, int int4, int int5, int int6, int int7)
public void drawCenteredString(MatrixStack matrixStack, TextRenderer textRenderer, String string, int int2, int int3, int int4)
public void method_27534(MatrixStack matrixStack, TextRenderer textRenderer, Text text, int int2, int int3, int int4)
public void drawString(MatrixStack matrixStack, TextRenderer textRenderer, String string, int int2, int int3, int int4)
public void method_27535(MatrixStack matrixStack, TextRenderer textRenderer, Text text, int int2, int int3, int int4)
public static void drawSprite(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, Sprite sprite)
public void drawTexture(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, int int7)
public static void drawTexture(MatrixStack matrixStack, int int2, int int3, int int4, float float2, float float3, int int5, int int6, int int7, int int8)
public static void drawTexture(MatrixStack matrixStack, int int2, int int3, int int4, int int5, float float2, float float3, int int6, int int7, int int8, int int9)
public static void drawTexture(MatrixStack matrixStack, int int2, int int3, float float2, float float3, int int4, int int5, int int6, int int7)
private static void drawTexture(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, int int7, int int8, float float2, float float3, int int9, int int10)
private static void drawTexturedQuad(Matrix4f matrix4f, int int2, int int3, int int4, int int5, int int6, float float2, float float3, float float4, float float5)
public int getZOffset()
public void setZOffset(int zOffset)