public class GuiModList extends GuiScreen
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, widthICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel| Constructor and Description |
|---|
GuiModList(GuiScreen mainMenu) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
int |
drawLine(java.lang.String line,
int offset,
int shifty) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
void |
handleMouseInput()
Handles mouse input.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char c,
int keyCode)
Fired when a key is typed (except F11 which toggles full screen).
|
boolean |
modIndexSelected(int index) |
protected void |
mouseClicked(int x,
int y,
int button)
Called when the mouse is clicked.
|
void |
selectModIndex(int index) |
void |
updateScreen()
Called from the main game loop to update the screen.
|
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiModList(GuiScreen mainMenu)
mainMenu - public void initGui()
protected void mouseClicked(int x,
int y,
int button)
throws java.io.IOException
mouseClicked in class GuiScreenjava.io.IOExceptionprotected void keyTyped(char c,
int keyCode)
throws java.io.IOException
public void updateScreen()
updateScreen in class GuiScreenprotected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed in class GuiScreenjava.io.IOExceptionpublic int drawLine(java.lang.String line,
int offset,
int shifty)
public void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class GuiScreenpublic void handleMouseInput()
throws java.io.IOException
handleMouseInput in class GuiScreenjava.io.IOExceptionpublic void selectModIndex(int index)
public boolean modIndexSelected(int index)