Class ListEditScreen<E>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledScreen
net.ixdarklord.coolcatcore.internal.config.client.gui.ListEditScreen<E>
- 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
Edits a list's elements, each with the editor of the element type, in the config screens' frame. "Done" hands the
whole list back to the slot it came from, as one pending change.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledScreen
StyledScreen.TitleIconNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.Screen.NarratableSearchResult -
Field Summary
Fields inherited from class net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledScreen
BAR_HEIGHT, GAP, MARGIN, theme, TITLE_ICONFields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionListEditScreen(@Nullable net.minecraft.client.gui.screens.Screen parent, EditSlot<List<E>> slot) -
Method Summary
Modifier and TypeMethodDescriptionvoidadded()protected voidinit()voidonClose()protected @Nullable net.minecraft.client.gui.screens.ScreenThe screen this one returns to, for choosing which way it slides in.protected voidrenderPanels(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float a) Draws the bars, panels and fixed text under the widgets.protected voidvoidtick()Methods inherited from class net.ixdarklord.coolcatcore.internal.config.client.gui.style.StyledScreen
addModeToggle, barWidgetY, bodyBottom, bodyTop, bottomBarY, frameLeft, frameWidth, removed, render, renderBackground, renderTitle, renderTitle, theme, topBarHeight, topBarWidgetY, topBarYMethods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, 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, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
ListEditScreen
-
-
Method Details
-
init
protected void init()- Overrides:
initin classnet.minecraft.client.gui.screens.Screen
-
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classnet.minecraft.client.gui.screens.Screen
-
added
public void added()- Overrides:
addedin classStyledScreen
-
renderPanels
protected void renderPanels(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY, float a) Description copied from class:StyledScreenDraws the bars, panels and fixed text under the widgets.- Overrides:
renderPanelsin classStyledScreen
-
tick
public void tick()- Overrides:
tickin classnet.minecraft.client.gui.screens.Screen
-
parentScreen
@Nullable protected @Nullable net.minecraft.client.gui.screens.Screen parentScreen()Description copied from class:StyledScreenThe screen this one returns to, for choosing which way it slides in.- Overrides:
parentScreenin classStyledScreen
-
onClose
public void onClose()- Overrides:
onClosein classnet.minecraft.client.gui.screens.Screen
-