Class ConfirmExperimentalFeaturesScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.worldselection.ConfirmExperimentalFeaturesScreen
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.booleans.BooleanConsumerprivate static final intprivate static final Componentprivate static final intprivate final Collection<Pack> private final GridLayoutprivate static final Componentprivate static final ComponentFields 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
ConstructorsConstructorDescriptionConfirmExperimentalFeaturesScreen(Collection<Pack> enabledPacks, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback) -
Method Summary
Methods 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, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isPauseScreen, isValidCharacterForName, keyPressed, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, 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
-
Field Details
-
TITLE
-
MESSAGE
-
DETAILS_BUTTON
-
COLUMN_SPACING
private static final int COLUMN_SPACING- See Also:
-
DETAILS_BUTTON_WIDTH
private static final int DETAILS_BUTTON_WIDTH- See Also:
-
callback
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback -
enabledPacks
-
layout
-
-
Constructor Details
-
ConfirmExperimentalFeaturesScreen
public ConfirmExperimentalFeaturesScreen(Collection<Pack> enabledPacks, it.unimi.dsi.fastutil.booleans.BooleanConsumer callback)
-
-
Method Details
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
init
-
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classScreen
-
onClose
-