Class ModListWidget
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.widget.list.AbstractList<E>
net.minecraft.client.gui.widget.list.ExtendedList<ModListWidget.ModEntry>
net.minecraftforge.fml.client.gui.widget.ModListWidget
- All Implemented Interfaces:
IGuiEventListener,INestedGuiEventHandler,IRenderable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.ExtendedList
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.Ordering -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate ModListScreenprivate static final ResourceLocationFields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected intvoidprotected voidrenderBackground(MatrixStack mStack) private static StringstripControlCodes(String value) Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocusMethods inherited from class net.minecraft.client.gui.widget.list.AbstractList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, getTop, getWidth, isFocused, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Field Details
-
VERSION_CHECK_ICONS
-
listWidth
private final int listWidth -
parent
-
-
Constructor Details
-
ModListWidget
-
-
Method Details
-
stripControlCodes
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classAbstractList<ModListWidget.ModEntry>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classAbstractList<ModListWidget.ModEntry>
-
refreshList
public void refreshList() -
renderBackground
- Overrides:
renderBackgroundin classAbstractList<ModListWidget.ModEntry>
-