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 net.minecraft.client.gui.screens.dialog.DialogScreen
DialogScreen.WarningScreen
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screens.dialog.ButtonListDialogScreen
FOOTER_MARGIN
Fields inherited from class net.minecraft.client.gui.screens.dialog.DialogScreen
DISCONNECT
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, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorsConstructorDescriptionDialogListDialogScreen
(Screen pPreviousScreen, DialogListDialog pDialog, DialogConnectionAccess pConnectionAccess) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ActionButton
createDialogClickAction
(DialogListDialog pDialog, Holder<Dialog> pDialogToOpen) protected Stream
<ActionButton> createListActions
(DialogListDialog pDialog, DialogConnectionAccess pConnectionAccess) Methods inherited from class net.minecraft.client.gui.screens.dialog.ButtonListDialogScreen
populateBodyElements, updateHeaderAndFooter
Methods inherited from class net.minecraft.client.gui.screens.dialog.DialogScreen
createTitleWithWarningButton, init, isPauseScreen, makeSureWarningButtonIsInBounds, onClose, packControlsIntoColumns, previousScreen, repositionElements, runAction, runAction, shouldCloseOnEsc
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleClickEvent, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Constructor Details
-
DialogListDialogScreen
public DialogListDialogScreen(@Nullable Screen pPreviousScreen, DialogListDialog pDialog, DialogConnectionAccess pConnectionAccess)
-
-
Method Details
-
createListActions
protected Stream<ActionButton> createListActions(DialogListDialog pDialog, DialogConnectionAccess pConnectionAccess) - Specified by:
createListActions
in classButtonListDialogScreen<DialogListDialog>
-
createDialogClickAction
private static ActionButton createDialogClickAction(DialogListDialog pDialog, Holder<Dialog> pDialogToOpen)
-