public abstract class GuiContainer extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
Container |
inventorySlots
A list of the players inventory slots.
|
allowUserInput, height, widthicons, optionsBackground, statIcons| Constructor and Description |
|---|
GuiContainer(Container par1Container) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesGuiPauseGame()
Returns true if this GUI should pause the game when it is displayed in single-player
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolutiondrawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIconpublic Container inventorySlots
public GuiContainer(Container par1Container)
public void initGui()
public void drawScreen(int par1,
int par2,
float par3)
drawScreen in class GuiScreenpublic void onGuiClosed()
onGuiClosed in class GuiScreenpublic boolean doesGuiPauseGame()
doesGuiPauseGame in class GuiScreenpublic void updateScreen()
updateScreen in class GuiScreen