public class GuiModList extends GuiScreen
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiModList(GuiScreen mainMenu) |
Modifier and Type | Method and Description |
---|---|
<T extends GuiListExtended.IGuiListEntry<T>> |
buildModList(java.util.function.Consumer<T> modListViewConsumer,
java.util.function.Function<net.minecraftforge.fml.loading.moddiscovery.ModInfo,T> newEntry) |
void |
initGui() |
boolean |
modIndexSelected(int index) |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
selectModIndex(int index) |
void |
tick() |
addButton, allowCloseWithEscape, close, confirmResult, doesGuiPauseGame, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyPressed, onGuiClosed, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution
focusNext, focusOn, getFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
public GuiModList(GuiScreen mainMenu)
mainMenu
- public <T extends GuiListExtended.IGuiListEntry<T>> void buildModList(java.util.function.Consumer<T> modListViewConsumer, java.util.function.Function<net.minecraftforge.fml.loading.moddiscovery.ModInfo,T> newEntry)
public void render(int mouseX, int mouseY, float partialTicks)
public void selectModIndex(int index)
public boolean modIndexSelected(int index)