Class SubConfigScreen<T extends ISubConfig<T,P>,P extends IConfig<P>>

java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.option.GameOptionsScreen
net.uku3lig.ukulib.config.screen.AbstractConfigScreen<T>
net.uku3lig.ukulib.config.screen.SubConfigScreen<T,P>
Type Parameters:
T - The type of the config
P - The type of the parent config
All Implemented Interfaces:
net.minecraft.client.gui.Drawable, net.minecraft.client.gui.Element, net.minecraft.client.gui.ParentElement

public abstract class SubConfigScreen<T extends ISubConfig<T,P>,P extends IConfig<P>> extends AbstractConfigScreen<T>
A screen used to edit a sub-config. Instances of this class should NOT be reused.
See Also:
  • Nested Class Summary

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

    net.minecraft.client.gui.screen.Screen.SelectedElementNarrationData
  • Field Summary

    Fields inherited from class net.uku3lig.ukulib.config.screen.AbstractConfigScreen

    buttonList, manager

    Fields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen

    gameOptions, parent

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

    client, height, itemRenderer, passEvents, textRenderer, title, width

    Fields inherited from class net.minecraft.client.gui.DrawableHelper

    GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SubConfigScreen(net.minecraft.client.gui.screen.Screen parent, net.minecraft.text.Text title, ConfigManager<P> manager, Function<P,T> getter)
    Creates a sub-config screen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class net.uku3lig.ukulib.config.screen.AbstractConfigScreen

    drawFooterButtons, getOptions, init, render

    Methods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen

    getHoveredButtonTooltip, onClose

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

    addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, updateNarrator, wrapScreenError

    Methods inherited from class net.minecraft.client.gui.AbstractParentElement

    getFocused, isDragging, setDragging, setFocused

    Methods inherited from class net.minecraft.client.gui.DrawableHelper

    drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset

    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.Element

    mouseMoved

    Methods inherited from interface net.minecraft.client.gui.ParentElement

    changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
  • Constructor Details

    • SubConfigScreen

      protected SubConfigScreen(net.minecraft.client.gui.screen.Screen parent, net.minecraft.text.Text title, ConfigManager<P> manager, Function<P,T> getter)
      Creates a sub-config screen
      Parameters:
      parent - The parent screen
      title - The title of the screen
      manager - The manager of the parent config
      getter - Gets the sub-config from the parent config
  • Method Details