Class ButtonListDialogScreen<T extends ButtonListDialog>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.dialog.DialogScreen<T>
net.minecraft.client.gui.screens.dialog.ButtonListDialogScreen<T>
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,Renderable,TabOrderedElement
- Direct Known Subclasses:
DialogListDialogScreen,MultiButtonDialogScreen,ServerLinksDialogScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.dialog.DialogScreen
DialogScreen.WarningScreenNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.screens.dialog.DialogScreen
DISCONNECTFields 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 -
Constructor Summary
ConstructorsConstructorDescriptionButtonListDialogScreen(Screen pPreviousScreen, T pDialog, DialogConnectionAccess pConnectionAccess) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stream<ActionButton> createListActions(T pDialog, DialogConnectionAccess pConnectionAccess) protected voidpopulateBodyElements(LinearLayout p_425776_, DialogControlSet p_428248_, T p_428517_, DialogConnectionAccess p_427299_) protected voidupdateHeaderAndFooter(HeaderAndFooterLayout p_426252_, DialogControlSet p_428234_, T p_426188_, DialogConnectionAccess p_427363_) Methods inherited from class net.minecraft.client.gui.screens.dialog.DialogScreen
createTitleWithWarningButton, init, isPauseScreen, makeSureWarningButtonIsInBounds, onClose, packControlsIntoColumns, previousScreen, repositionElements, runAction, runAction, shouldCloseOnEscMethods inherited from class net.minecraft.client.gui.screens.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, handleClickEvent, handleComponentClicked, 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 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
getBorderForArrowNavigation, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
FOOTER_MARGIN
public static final int FOOTER_MARGIN- See Also:
-
-
Constructor Details
-
ButtonListDialogScreen
public ButtonListDialogScreen(@Nullable Screen pPreviousScreen, T pDialog, DialogConnectionAccess pConnectionAccess)
-
-
Method Details
-
populateBodyElements
protected void populateBodyElements(LinearLayout p_425776_, DialogControlSet p_428248_, T p_428517_, DialogConnectionAccess p_427299_) - Overrides:
populateBodyElementsin classDialogScreen<T extends ButtonListDialog>
-
createListActions
protected abstract Stream<ActionButton> createListActions(T pDialog, DialogConnectionAccess pConnectionAccess)
-