public class GuiModList extends Screen
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
GuiModList(Screen mainMenu) |
Modifier and Type | Method and Description |
---|---|
<T extends ExtendedList.AbstractListEntry<T>> |
buildModList(java.util.function.Consumer<T> modListViewConsumer,
java.util.function.Function<net.minecraftforge.fml.loading.moddiscovery.ModInfo,T> newEntry) |
void |
init() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
resize(Minecraft mc,
int width,
int height) |
void |
setSelected(net.minecraftforge.fml.client.gui.GuiSlotModList.ModEntry entry) |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, setSize, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212928_a, func_212930_a, func_212932_b, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled
mouseMoved
public GuiModList(Screen mainMenu)
mainMenu
- public <T extends ExtendedList.AbstractListEntry<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)
render
in interface IRenderable
render
in class Screen
public void setSelected(net.minecraftforge.fml.client.gui.GuiSlotModList.ModEntry entry)