public class GuiModList extends GuiScreen
Modifier and Type | Class and Description |
---|---|
private class |
GuiModList.Info |
private static class |
GuiModList.SortType |
Modifier and Type | Field and Description |
---|---|
private int |
buttonMargin |
private GuiButton |
configModButton |
private GuiButton |
disableModButton |
private java.lang.String |
lastFilterText |
private int |
listWidth |
private GuiScreen |
mainMenu |
private GuiScrollingList |
modInfo |
private GuiSlotModList |
modList |
private java.util.ArrayList<ModContainer> |
mods |
private int |
numButtons |
private GuiTextField |
search |
private int |
selected |
private ModContainer |
selectedMod |
private boolean |
sorted |
private GuiModList.SortType |
sortType |
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiModList(GuiScreen mainMenu) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
int |
drawLine(java.lang.String line,
int offset,
int shifty) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
(package private) FontRenderer |
getFontRenderer() |
(package private) Minecraft |
getMinecraftInstance() |
void |
handleMouseInput() |
void |
initGui() |
protected void |
keyTyped(char c,
int keyCode) |
boolean |
modIndexSelected(int index) |
protected void |
mouseClicked(int x,
int y,
int button) |
private void |
reloadMods() |
void |
selectModIndex(int index) |
private void |
updateCache() |
void |
updateScreen() |
addButton, confirmClicked, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private GuiScreen mainMenu
private GuiSlotModList modList
private GuiScrollingList modInfo
private int selected
private ModContainer selectedMod
private int listWidth
private java.util.ArrayList<ModContainer> mods
private GuiButton configModButton
private GuiButton disableModButton
private int buttonMargin
private int numButtons
private java.lang.String lastFilterText
private GuiTextField search
private boolean sorted
private GuiModList.SortType sortType
public GuiModList(GuiScreen mainMenu)
mainMenu
- protected void mouseClicked(int x, int y, int button) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
protected void keyTyped(char c, int keyCode) throws java.io.IOException
public void updateScreen()
updateScreen
in class GuiScreen
private void reloadMods()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public int drawLine(java.lang.String line, int offset, int shifty)
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public void handleMouseInput() throws java.io.IOException
handleMouseInput
in class GuiScreen
java.io.IOException
Minecraft getMinecraftInstance()
FontRenderer getFontRenderer()
public void selectModIndex(int index)
public boolean modIndexSelected(int index)
private void updateCache()