Class ConfigList
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.components.AbstractSelectionList<E>
net.minecraft.client.gui.components.ContainerObjectSelectionList<E>
com.stereowalker.unionlib.client.gui.screens.DefaultList<ConfigList.Entry>
com.stereowalker.unionlib.client.gui.screens.config.ConfigList
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.components.Renderable,net.minecraft.client.gui.components.TabOrderedElement,net.minecraft.client.gui.narration.NarratableEntry,net.minecraft.client.gui.narration.NarrationSupplier
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassclassstatic classclassclassclassConfigList.NumberedEntry<V extends Number>classNested classes/interfaces inherited from class com.stereowalker.unionlib.client.gui.screens.DefaultList
DefaultList.DefaultEntry<E extends net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConfigScreenprotected List<net.minecraft.network.chat.Component>protected intprotected intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionConfigList(net.minecraft.client.Minecraft mcIn, ConfigScreen screen, UnionConfig config) -
Method Summary
Methods inherited from class com.stereowalker.unionlib.client.gui.screens.DefaultList
charTyped, charTyped, getScrollbarPosition, keyPressed, keyPressed, mouseClicked, mouseClicked, mouseDragged, mouseDragged, mouseReleased, mouseReleasedMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList
isSelectedItem, narrationPriority, nextFocusPath, setFocused, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList
addEntry, addEntryToTop, centerScrollOn, children, clearEntries, clickedHeader, enableScissor, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHeight, getHovered, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRectangle, getRight, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getScrollBottom, getSelected, getTop, getWidth, isMouseOver, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, render, renderBackground, renderDecorations, renderHeader, renderItem, renderList, renderSelection, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSizeMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
isDragging, setDraggingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
isActiveMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
screen
-
tooltip
-
tooltipX
protected int tooltipX -
tooltipY
protected int tooltipY
-
-
Constructor Details
-
ConfigList
-
-
Method Details
-
scrollX
protected int scrollX()- Overrides:
scrollXin classDefaultList<ConfigList.Entry>
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classnet.minecraft.client.gui.components.AbstractSelectionList<ConfigList.Entry>
-
tick
public void tick()
-