Class ConfigEntryList.ValueEntry<T>

java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ConfigEntryList.Entry>
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement
Enclosing class:
ConfigEntryList

public static final class ConfigEntryList.ValueEntry<T> extends ConfigEntryList.Entry
One setting: its name and a line of description on the left, the editor and a reset button on the right.
  • Field Summary

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

    DOUBLE_CLICK_THRESHOLD_MS
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValueEntry(ConfigEditSession session, ConfigValueImpl<T> value, net.minecraft.network.chat.Component label, int editorWidth)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<? extends net.minecraft.client.gui.components.events.GuiEventListener>
     
    List<? extends net.minecraft.client.gui.narration.NarratableEntry>
     
    void
    renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a)
    Draws the row within its bounds.

    Methods inherited from class net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledList.Entry

    getHeight, getWidth, getX, getY, isMouseOver, render

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

    focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused

    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, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused

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

    getRectangle, mouseMoved

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

    getTabOrderGroup
  • Constructor Details

  • Method Details

    • renderContent

      public void renderContent(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a)
      Description copied from class: StyledList.Entry
      Draws the row within its bounds.
      Specified by:
      renderContent in class StyledList.Entry<ConfigEntryList.Entry>
    • children

      public List<? extends net.minecraft.client.gui.components.events.GuiEventListener> children()
    • narratables

      public List<? extends net.minecraft.client.gui.narration.NarratableEntry> narratables()
      Specified by:
      narratables in class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ConfigEntryList.Entry>