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 |
long |
field_152177_g |
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, optionsBackground, statIcons, zLevel| Constructor and Description |
|---|
GuiControls(GuiScreen p_i1027_1_,
GameSettings p_i1027_2_) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton p_146284_1_) |
void |
drawScreen(int p_73863_1_,
int p_73863_2_,
float p_73863_3_)
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 p_73869_1_,
int p_73869_2_)
Fired when a key is typed.
|
protected void |
mouseClicked(int p_73864_1_,
int p_73864_2_,
int p_73864_3_)
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, updateScreendrawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a, func_152125_aprotected java.lang.String field_146495_a
public KeyBinding buttonId
public long field_152177_g
public GuiControls(GuiScreen p_i1027_1_, GameSettings p_i1027_2_)
public void initGui()
protected void actionPerformed(GuiButton p_146284_1_)
actionPerformed in class GuiScreenprotected void mouseClicked(int p_73864_1_,
int p_73864_2_,
int p_73864_3_)
mouseClicked in class GuiScreenprotected void mouseMovedOrUp(int p_146286_1_,
int p_146286_2_,
int p_146286_3_)
mouseMovedOrUp in class GuiScreenprotected void keyTyped(char p_73869_1_,
int p_73869_2_)
public void drawScreen(int p_73863_1_,
int p_73863_2_,
float p_73863_3_)
drawScreen in class GuiScreen