public class Gui extends Object
Modifier and Type | Field and Description |
---|---|
static ResourceLocation |
icons |
static ResourceLocation |
optionsBackground |
static ResourceLocation |
statIcons |
Constructor and Description |
---|
Gui() |
Modifier and Type | Method and Description |
---|---|
void |
drawCenteredString(FontRenderer par1FontRenderer,
String par2Str,
int par3,
int par4,
int par5)
Renders the specified text to the screen, center-aligned.
|
static void |
drawRect(int par0,
int par1,
int par2,
int par3,
int par4)
Draws a solid color rectangle with the specified coordinates and color.
|
void |
drawString(FontRenderer par1FontRenderer,
String par2Str,
int par3,
int par4,
int par5)
Renders the specified text to the screen.
|
void |
drawTexturedModalRect(int par1,
int par2,
int par3,
int par4,
int par5,
int par6)
Draws a textured rectangle at the stored z-value.
|
void |
drawTexturedModelRectFromIcon(int par1,
int par2,
Icon par3Icon,
int par4,
int par5) |
public static final ResourceLocation optionsBackground
public static final ResourceLocation statIcons
public static final ResourceLocation icons
public static void drawRect(int par0, int par1, int par2, int par3, int par4)
public void drawCenteredString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
public void drawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
public void drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6)
public void drawTexturedModelRectFromIcon(int par1, int par2, Icon par3Icon, int par4, int par5)