Class RealmsLongConfirmationScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsLongConfirmationScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprotected final it.unimi.dsi.fastutil.booleans.BooleanConsumer
(package private) static final Component
private final Component
private final Component
private final RealmsLongConfirmationScreen.Type
(package private) static final Component
private final boolean
Fields inherited from class net.minecraft.realms.RealmsScreen
COLOR_BLACK, COLOR_BRIGHT_YELLOW, COLOR_BUTTON_YELLOW, COLOR_DARK_GRAY, COLOR_DARK_GREEN, COLOR_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, COLOR_RED, COLOR_RED_FADE, COLOR_WHITE, COLOR_YELLOW, COMPONENT_HEIGHT, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT, UPDATE_BREAKS_ADVENTURE_URL
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionRealmsLongConfirmationScreen
(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88731_, RealmsLongConfirmationScreen.Type p_88732_, Component p_88733_, Component p_88734_, boolean p_88735_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
boolean
keyPressed
(int p_88737_, int p_88738_, int p_88739_) void
render
(GuiGraphics p_282797_, int p_88742_, int p_88743_, float p_88744_) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
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, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
WARNING
-
INFO
-
type
-
line2
-
line3
-
callback
protected final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback -
yesNoQuestion
private final boolean yesNoQuestion
-
-
Constructor Details
-
RealmsLongConfirmationScreen
public RealmsLongConfirmationScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_88731_, RealmsLongConfirmationScreen.Type p_88732_, Component p_88733_, Component p_88734_, boolean p_88735_)
-
-
Method Details
-
init
public void init() -
getNarrationMessage
- Overrides:
getNarrationMessage
in classScreen
-
keyPressed
public boolean keyPressed(int p_88737_, int p_88738_, int p_88739_) - Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-