public class GuiControls extends GuiScreen
| Modifier and Type | Field and Description |
|---|---|
KeyBinding |
buttonId |
protected java.lang.String |
screenTitle |
long |
time |
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiControls(GuiScreen screen,
GameSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initGui() |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
boolean |
mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_) |
boolean |
mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
addButton, allowCloseWithEscape, close, confirmResult, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onGuiClosed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution, tickfocusNext, focusOn, getFocused, mouseDragged, setDragging, setFocuseddrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseScrolledcanFocus, focusChangedprotected java.lang.String screenTitle
public KeyBinding buttonId
public long time
public GuiControls(GuiScreen screen, GameSettings settings)
public boolean mouseClicked(double p_mouseClicked_1_,
double p_mouseClicked_3_,
int p_mouseClicked_5_)
mouseClicked in interface IGuiEventListenermouseClicked in interface IGuiEventListenerDeferredmouseClicked in class GuiEventHandlerpublic boolean mouseReleased(double p_mouseReleased_1_,
double p_mouseReleased_3_,
int p_mouseReleased_5_)
mouseReleased in interface IGuiEventListenermouseReleased in interface IGuiEventListenerDeferredmouseReleased in class GuiEventHandlerpublic boolean keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_)
keyPressed in interface IGuiEventListenerkeyPressed in interface IGuiEventListenerDeferredkeyPressed in class GuiScreen