public class GuiControls extends GuiScreen
Modifier and Type | Field and Description |
---|---|
KeyBinding |
buttonId
The ID of the button that has been pressed.
|
protected java.lang.String |
field_146495_a |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiControls(GuiScreen par1GuiScreen,
GameSettings par2GameSettings) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton p_146284_1_) |
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.
|
protected void |
keyTyped(char par1,
int par2)
Fired when a key is typed.
|
protected void |
mouseClicked(int par1,
int par2,
int par3)
Called when the mouse is clicked.
|
protected void |
mouseMovedOrUp(int p_146286_1_,
int p_146286_2_,
int p_146286_3_)
Called when the mouse is moved or a mouse button is released.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, mouseClickMove, onGuiClosed, renderToolTip, setClipboardString, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a
protected java.lang.String field_146495_a
public KeyBinding buttonId
public GuiControls(GuiScreen par1GuiScreen, GameSettings par2GameSettings)
public void initGui()
protected void actionPerformed(GuiButton p_146284_1_)
actionPerformed
in class GuiScreen
protected void mouseClicked(int par1, int par2, int par3)
mouseClicked
in class GuiScreen
protected void mouseMovedOrUp(int p_146286_1_, int p_146286_2_, int p_146286_3_)
mouseMovedOrUp
in class GuiScreen
protected void keyTyped(char par1, int par2)
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiScreen