Package net.uku3lig.ukulib.config.screen
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 configP- 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, managerFields inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
gameOptions, parentFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubConfigScreen(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
Methods inherited from class net.uku3lig.ukulib.config.screen.AbstractConfigScreen
drawFooterButtons, getOptions, init, renderMethods inherited from class net.minecraft.client.gui.screen.option.GameOptionsScreen
getHoveredButtonTooltip, onCloseMethods 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, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods 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 screentitle- The title of the screenmanager- The manager of the parent configgetter- Gets the sub-config from the parent config
-
-
Method Details
-
removed
public void removed()- Overrides:
removedin classAbstractConfigScreen<T extends ISubConfig<T,P>>
-