Class ConfigSelectScreen

java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.ixdarklord.coolcatcanvas.internal.client.gui.style.StyledScreen
net.ixdarklord.coolcatcore.internal.config.client.gui.ConfigSelectScreen
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

public final class ConfigSelectScreen extends StyledScreen
The main config screen: one mod's configs, or every mod's, as cards grouped by mod. Its search bar is the only one that searches across configs: results are listed by config, each config a category of its matching settings, and opening one shows that config filtered to it. (A config's own search only searches that config.)
  • Nested Class Summary

    Nested classes/interfaces inherited from class StyledScreen

    StyledScreen.TitleIcon

    Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen

    net.minecraft.client.gui.screens.Screen.NarratableSearchResult
  • Field Summary

    Fields inherited from class StyledScreen

    BAR_HEIGHT, GAP, MARGIN, theme, TITLE_ICON

    Fields inherited from class net.minecraft.client.gui.screens.Screen

    FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, screenExecutor, title, width
  • Constructor Summary

    Constructors
    Constructor
    Description
    ConfigSelectScreen(@Nullable net.minecraft.client.gui.screens.Screen parent, @Nullable String modId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extractPanels(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
    Draws the bars, panels and fixed text under the widgets.
    protected void
     
    boolean
    keyPressed(net.minecraft.client.input.KeyEvent event)
     
    void
     
    protected @Nullable net.minecraft.client.gui.screens.Screen
    The screen this one returns to, for choosing which way it slides in.
    protected void
     
    protected void
     
    protected int
    The top bar's height; a screen with a larger header makes it taller.

    Methods inherited from class net.minecraft.client.gui.screens.Screen

    addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, extractBlurredBackground, extractMenuBackground, extractMenuBackground, extractMenuBackgroundTexture, extractPanorama, extractRenderStateWithTooltipAndSubtitles, extractTransparentBackground, fadeWidgets, findNarratableWidget, getBackgroundMusic, getFont, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isInputCaptured, isMouseOver, isPauseScreen, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, resize, scheduleNarration, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus

    Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler

    getFocused, isDragging, 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, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, setFocused

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

    capturesInput, mouseMoved, shouldTakeFocusAfterInteraction

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

    getTabOrderGroup
  • Constructor Details

    • ConfigSelectScreen

      public ConfigSelectScreen(@Nullable @Nullable net.minecraft.client.gui.screens.Screen parent, @Nullable @Nullable String modId)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class net.minecraft.client.gui.screens.Screen
    • parentScreen

      @Nullable protected @Nullable net.minecraft.client.gui.screens.Screen parentScreen()
      Description copied from class: StyledScreen
      The screen this one returns to, for choosing which way it slides in.
      Overrides:
      parentScreen in class StyledScreen
    • topBarHeight

      protected int topBarHeight()
      Description copied from class: StyledScreen
      The top bar's height; a screen with a larger header makes it taller.
      Overrides:
      topBarHeight in class StyledScreen
    • setInitialFocus

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class net.minecraft.client.gui.screens.Screen
    • repositionElements

      protected void repositionElements()
      Overrides:
      repositionElements in class net.minecraft.client.gui.screens.Screen
    • keyPressed

      public boolean keyPressed(net.minecraft.client.input.KeyEvent event)
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.ContainerEventHandler
      Specified by:
      keyPressed in interface net.minecraft.client.gui.components.events.GuiEventListener
      Overrides:
      keyPressed in class net.minecraft.client.gui.screens.Screen
    • extractPanels

      protected void extractPanels(net.minecraft.client.gui.GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
      Description copied from class: StyledScreen
      Draws the bars, panels and fixed text under the widgets.
      Overrides:
      extractPanels in class StyledScreen
    • onClose

      public void onClose()
      Overrides:
      onClose in class net.minecraft.client.gui.screens.Screen