Class EditConfigScreen.ConfigEntry

java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<EditConfigScreen.ConfigEntry>
com.illusivesoulworks.spectrelib.config.client.screen.EditConfigScreen.ConfigEntry
All Implemented Interfaces:
net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement
Direct Known Subclasses:
EditConfigScreen.BooleanConfigEntry, EditConfigScreen.DoubleConfigEntry, EditConfigScreen.EnumConfigEntry, EditConfigScreen.IntegerConfigEntry, EditConfigScreen.ListConfigEntry, EditConfigScreen.LongConfigEntry, EditConfigScreen.SectionEntry, EditConfigScreen.StringConfigEntry
Enclosing class:
EditConfigScreen

public abstract class EditConfigScreen.ConfigEntry extends net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<EditConfigScreen.ConfigEntry>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final List<net.minecraft.client.gui.components.AbstractWidget>
     
    protected static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigEntry(@Nullable List<net.minecraft.util.FormattedCharSequence> pTooltip, net.minecraft.network.chat.Component pLabel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<? extends net.minecraft.client.gui.components.events.GuiEventListener>
     
    @NotNull List<? extends net.minecraft.client.gui.narration.NarratableEntry>
     
    protected void
    renderLabel(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int y, int x)
     

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

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

    Methods inherited from class Object

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

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

    charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocused

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

    getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteraction

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

    setPosition

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

    getTabOrderGroup
  • Field Details

    • children

      protected final List<net.minecraft.client.gui.components.AbstractWidget> children
    • LABEL_WIDTH

      protected static final int LABEL_WIDTH
      See Also:
  • Constructor Details

    • ConfigEntry

      public ConfigEntry(@Nullable @Nullable List<net.minecraft.util.FormattedCharSequence> pTooltip, net.minecraft.network.chat.Component pLabel)
  • Method Details

    • children

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

      @NotNull public @NotNull List<? extends net.minecraft.client.gui.narration.NarratableEntry> narratables()
      Specified by:
      narratables in class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<EditConfigScreen.ConfigEntry>
    • renderLabel

      protected void renderLabel(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int y, int x)