java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractContainerWidget
net.minecraft.client.gui.components.AbstractSelectionList<ListList.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList<ListList.Entry>
com.stereowalker.unionlib.client.gui.screens.DefaultList<ListList.Entry>
com.stereowalker.unionlib.client.gui.screens.config.lists.ListList<T>
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.layouts.LayoutElement, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

public class ListList<T> extends DefaultList<ListList.Entry>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
    static class 
     
    class 
     
    class 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
     
    protected ListScreen
     

    Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    centerListVertically, headerHeight, itemHeight, minecraft, SCROLLBAR_WIDTH

    Fields inherited from class net.minecraft.client.gui.components.AbstractWidget

    active, alpha, height, isHovered, packedFGColor, UNSET_FG_COLOR, visible, width

    Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    ListList(net.minecraft.client.Minecraft mcIn, ListScreen screen, ConfigHolder<List<T>> configList)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    protected int
     
    void
     

    Methods inherited from class com.stereowalker.unionlib.client.gui.screens.DefaultList

    charTyped, charTyped, getScrollbarPosition, keyPressed, keyPressed, mouseClicked, mouseClicked, mouseDragged, mouseDragged, mouseReleased, mouseReleased

    Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList

    isSelectedItem, narrationPriority, nextFocusPath, setFocused, updateWidgetNarration

    Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList

    addEntry, addEntryToTop, centerScrollOn, children, clampScrollAmount, clearEntries, clickedHeader, enableScissor, ensureVisible, getDefaultScrollbarPosition, getEntry, getEntryAtPosition, getFirstElement, getFocused, getHovered, getItemCount, getMaxPosition, getMaxScroll, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, isMouseOver, isValidMouseClick, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntry, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderListBackground, renderListItems, renderListSeparators, renderSelection, renderWidget, replaceEntries, scrollbarVisible, setClampedScrollAmount, setRenderHeader, setScrollAmount, setSelected, updateScrollingState, updateSize, updateSizeAndPosition

    Methods inherited from class net.minecraft.client.gui.components.AbstractContainerWidget

    isDragging, isFocused, setDragging, setFocused

    Methods inherited from class net.minecraft.client.gui.components.AbstractWidget

    clearFGColor, clicked, createNarrationMessage, defaultButtonNarrationText, getBottom, getFGColor, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, setFGColor, setHeight, setMessage, setRectangle, setSize, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler

    getChildAt, getCurrentFocusPath, keyReleased

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    getRectangle, mouseMoved

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Field Details

  • Constructor Details

  • Method Details

    • scrollX

      protected int scrollX()
      Overrides:
      scrollX in class DefaultList<ListList.Entry>
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class net.minecraft.client.gui.components.AbstractSelectionList<ListList.Entry>
    • tick

      public void tick()