Class DialogListDialogScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.dialog.DialogScreen<DialogListDialog>
net.minecraft.client.gui.screens.dialog.ButtonListDialogScreen<DialogListDialog>
net.minecraft.client.gui.screens.dialog.DialogListDialogScreen
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class DialogScreen
DialogScreen.WarningScreenNested classes/interfaces inherited from class Screen
Screen.NarratableSearchResult -
Field Summary
Fields inherited from class ButtonListDialogScreen
FOOTER_MARGINFields inherited from class DialogScreen
DISCONNECTFields inherited from class Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionDialogListDialogScreen(@Nullable Screen previousScreen, DialogListDialog dialog, DialogConnectionAccess connectionAccess) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ActionButtoncreateDialogClickAction(DialogListDialog data, Holder<Dialog> subDialog) protected Stream<ActionButton> createListActions(DialogListDialog data, DialogConnectionAccess connectionAccess) Methods inherited from class ButtonListDialogScreen
populateBodyElements, updateHeaderAndFooterMethods inherited from class DialogScreen
createTitleWithWarningButton, init, isPauseScreen, makeSureWarningButtonIsInBounds, onClose, packControlsIntoColumns, previousScreen, repositionElements, runAction, runAction, shouldCloseOnEscMethods inherited from class Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isValidCharacterForName, keyPressed, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, resize, setInitialFocus, setInitialFocus, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface GuiEventListener
mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
DialogListDialogScreen
public DialogListDialogScreen(@Nullable Screen previousScreen, DialogListDialog dialog, DialogConnectionAccess connectionAccess)
-
-
Method Details
-
createListActions
protected Stream<ActionButton> createListActions(DialogListDialog data, DialogConnectionAccess connectionAccess) - Specified by:
createListActionsin classButtonListDialogScreen<DialogListDialog>
-
createDialogClickAction
private static ActionButton createDialogClickAction(DialogListDialog data, Holder<Dialog> subDialog)
-