Package net.minecraft.src
Class Gui
java.lang.Object
net.minecraft.src.Gui
- Direct Known Subclasses:
AbstractParentElement,ClickableWidget,GuiAchievement,GuiButton,GuiIngame,GuiNewChat,GuiScreen,GuiTextField
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceLocationstatic final ResourceLocationstatic final ResourceLocationfloat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawCenteredString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5) Renders the specified text to the screen, center-aligned.voiddrawGradientRect(int par1, int par2, int par3, int par4, int par5, int par6) Draws a rectangle with a vertical gradient between the specified colors.protected voiddrawHorizontalLine(int par1, int par2, int par3, int par4) static voiddrawRect(int par0, int par1, int par2, int par3, int par4) Draws a solid color rectangle with the specified coordinates and color.voiddrawString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5) Renders the specified text to the screen.voiddrawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) Draws a textured rectangle at the stored z-value.voiddrawTexturedModelRectFromIcon(int par1, int par2, Icon par3Icon, int par4, int par5) protected voiddrawVerticalLine(int par1, int par2, int par3, int par4)
-
Field Details
-
optionsBackground
-
statIcons
-
icons
-
zLevel
public float zLevel
-
-
Constructor Details
-
Gui
public Gui()
-
-
Method Details
-
drawHorizontalLine
protected void drawHorizontalLine(int par1, int par2, int par3, int par4) -
drawVerticalLine
protected void drawVerticalLine(int par1, int par2, int par3, int par4) -
drawRect
public static void drawRect(int par0, int par1, int par2, int par3, int par4) Draws a solid color rectangle with the specified coordinates and color. Args: x1, y1, x2, y2, color -
drawGradientRect
public void drawGradientRect(int par1, int par2, int par3, int par4, int par5, int par6) Draws a rectangle with a vertical gradient between the specified colors. -
drawCenteredString
public void drawCenteredString(FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5) Renders the specified text to the screen, center-aligned. -
drawString
Renders the specified text to the screen. -
drawTexturedModalRect
public void drawTexturedModalRect(int par1, int par2, int par3, int par4, int par5, int par6) Draws a textured rectangle at the stored z-value. Args: x, y, u, v, width, height -
drawTexturedModelRectFromIcon
-