Class ConfigEntryList.ValueEntry<T>
java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ConfigEntryList.Entry>
net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledList.Entry<ConfigEntryList.Entry>
net.ixdarklord.coolcatcore.internal.config.client.gui.ConfigEntryList.Entry
net.ixdarklord.coolcatcore.internal.config.client.gui.ConfigEntryList.ValueEntry<T>
- 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
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
ConstructorsConstructorDescriptionValueEntry(ConfigEditSession session, ConfigValueImpl<T> value, net.minecraft.network.chat.Component label, int editorWidth) -
Method Summary
Modifier and TypeMethodDescriptionList<? extends net.minecraft.client.gui.components.events.GuiEventListener> children()List<? extends net.minecraft.client.gui.narration.NarratableEntry> voidrenderContent(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, renderMethods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods 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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
ValueEntry
public ValueEntry(ConfigEditSession session, ConfigValueImpl<T> value, net.minecraft.network.chat.Component label, int editorWidth)
-
-
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.EntryDraws the row within its bounds.- Specified by:
renderContentin classStyledList.Entry<ConfigEntryList.Entry>
-
children
-
narratables
- Specified by:
narratablesin classnet.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<ConfigEntryList.Entry>
-