net.minecraft.client.gui

## Class Gui

- java.lang.Object
- - net.minecraft.client.gui.Gui

- Direct Known Subclasses:
    GuiAchievement, GuiButton, GuiIngame, GuiNewChat, GuiScreen, GuiTextField

      public class Gui
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ResourceLocation` | `icons`
    `static ResourceLocation` | `optionsBackground`
    `static ResourceLocation` | `statIcons`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Gui()`

  - ### Method Summary

    Methods
    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)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### optionsBackground

          public static final ResourceLocation optionsBackground

    - #### statIcons

          public static final ResourceLocation statIcons

    - #### icons

          public static final ResourceLocation icons

  - ### Constructor Detail

    - #### Gui

          public Gui()

  - ### Method Detail

    - #### 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

    - #### drawCenteredString

          public void drawCenteredString(FontRenderer par1FontRenderer,
                                String par2Str,
                                int par3,
                                int par4,
                                int par5)

      Renders the specified text to the screen, center-aligned.

    - #### drawString

          public void drawString(FontRenderer par1FontRenderer,
                        String par2Str,
                        int par3,
                        int par4,
                        int par5)

      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

          public void drawTexturedModelRectFromIcon(int par1,
                                           int par2,
                                           Icon par3Icon,
                                           int par4,
                                           int par5)