java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractContainerWidget
net.minecraft.client.gui.components.AbstractSelectionList<ConfigEntryList.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList<ConfigEntryList.Entry>
net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledList<ConfigEntryList.Entry>
net.ixdarklord.coolcatcore.internal.config.client.gui.ConfigEntryList
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 final class ConfigEntryList extends StyledList<ConfigEntryList.Entry>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static final class 
    A notice card: where edits go, why nothing is shown...
    static final class 
    A nested group's heading: its name in the accent, then a rule to the edge; deeper groups are indented.
    static final class 
    One setting: its name and a line of description on the left, the editor and a reset button on the right.

    Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry

    net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
  • Field Summary

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

    centerListVertically, headerHeight, itemHeight, minecraft

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

    active, alpha, height, isHovered, visible, width

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigEntryList(net.minecraft.client.Minecraft minecraft, int width, int height, int y)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    void
    Shows the pending values again, after undo, a reset or the server's values arriving.
    protected void
    renderScrollbar(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY)
    Vanilla's scrollbar, while the rows don't fit.
    protected int
     
    void
     

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

    isSelectedItem, nextFocusPath, setFocused, updateWidgetNarration

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

    addEntryToTop, children, clampScrollAmount, clearEntries, clickedHeader, enableScissor, getDefaultScrollbarPosition, getEntry, getEntryAtPosition, getFirstElement, getFocused, getItemCount, getRowRight, getScrollAmount, getSelected, isMouseOver, isValidMouseClick, mouseDragged, mouseReleased, mouseScrolled, narrateListElementPosition, nextEntry, nextEntry, nextEntry, remove, removeEntryFromTop, renderDecorations, renderHeader, renderItem, renderListItems, renderSelection, scrollbarVisible, setRenderHeader, setScrollAmount, setSelected, updateScrollingState, updateSize

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

    isDragging, isFocused, setDragging, setFocused

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

    clicked, createNarrationMessage, defaultButtonNarrationText, getBottom, getHeight, getMessage, getRectangle, getRight, getTabOrderGroup, getTooltip, getWidth, getX, getY, isActive, isHovered, isHoveredOrFocused, isValidClickButton, onClick, onDrag, onRelease, playDownSound, render, renderScrollingString, renderScrollingString, renderScrollingString, setAlpha, 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

    charTyped, getChildAt, getCurrentFocusPath, keyPressed, 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
  • Constructor Details

    • ConfigEntryList

      public ConfigEntryList(net.minecraft.client.Minecraft minecraft, int width, int height, int y)
  • Method Details