public class Gui
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
ICONS |
static ResourceLocation |
OPTIONS_BACKGROUND |
static ResourceLocation |
STAT_ICONS |
protected float |
zLevel |
Constructor and Description |
---|
Gui() |
Modifier and Type | Method and Description |
---|---|
void |
drawCenteredString(FontRenderer fontRendererIn,
java.lang.String text,
int x,
int y,
int color) |
protected void |
drawGradientRect(int left,
int top,
int right,
int bottom,
int startColor,
int endColor) |
protected void |
drawHorizontalLine(int startX,
int endX,
int y,
int color) |
static void |
drawModalRectWithCustomSizedTexture(int x,
int y,
float u,
float v,
int width,
int height,
float textureWidth,
float textureHeight) |
static void |
drawRect(int left,
int top,
int right,
int bottom,
int color) |
static void |
drawScaledCustomSizeModalRect(int x,
int y,
float u,
float v,
int uWidth,
int vHeight,
int width,
int height,
float tileWidth,
float tileHeight) |
void |
drawString(FontRenderer fontRendererIn,
java.lang.String text,
int x,
int y,
int color) |
void |
drawTexturedModalRect(float xCoord,
float yCoord,
int minU,
int minV,
int maxU,
int maxV) |
void |
drawTexturedModalRect(int x,
int y,
int textureX,
int textureY,
int width,
int height) |
void |
drawTexturedModalRect(int xCoord,
int yCoord,
TextureAtlasSprite textureSprite,
int widthIn,
int heightIn) |
protected void |
drawVerticalLine(int x,
int startY,
int endY,
int color) |
public static final ResourceLocation OPTIONS_BACKGROUND
public static final ResourceLocation STAT_ICONS
public static final ResourceLocation ICONS
protected float zLevel
protected void drawHorizontalLine(int startX, int endX, int y, int color)
protected void drawVerticalLine(int x, int startY, int endY, int color)
public static void drawRect(int left, int top, int right, int bottom, int color)
protected void drawGradientRect(int left, int top, int right, int bottom, int startColor, int endColor)
public void drawCenteredString(FontRenderer fontRendererIn, java.lang.String text, int x, int y, int color)
public void drawString(FontRenderer fontRendererIn, java.lang.String text, int x, int y, int color)
public void drawTexturedModalRect(int x, int y, int textureX, int textureY, int width, int height)
public void drawTexturedModalRect(float xCoord, float yCoord, int minU, int minV, int maxU, int maxV)
public void drawTexturedModalRect(int xCoord, int yCoord, TextureAtlasSprite textureSprite, int widthIn, int heightIn)
public static void drawModalRectWithCustomSizedTexture(int x, int y, float u, float v, int width, int height, float textureWidth, float textureHeight)
public static void drawScaledCustomSizeModalRect(int x, int y, float u, float v, int uWidth, int vHeight, int width, int height, float tileWidth, float tileHeight)