Class RealmsLongRunningMcoTaskScreen
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.RealmsLongRunningMcoTaskScreen
- All Implemented Interfaces:
ErrorCallback
,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 TypeFieldDescriptionprivate boolean
private int
private final int
private Button
private Component
private final Screen
private static final org.slf4j.Logger
private static final RepeatedNarrator
static final String[]
private final LongRunningTask
private Component
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, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
aborted()
private void
void
void
init()
boolean
keyPressed
(int p_88781_, int p_88782_, int p_88783_) void
render
(GuiGraphics p_282789_, int p_88786_, int p_88787_, float p_88788_) void
void
tick()
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, getNarrationMessage, 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, 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 com.mojang.realmsclient.gui.ErrorCallback
error
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
-
REPEATED_NARRATOR
-
LOGGER
private static final org.slf4j.Logger LOGGER -
lastScreen
-
title
-
errorMessage
-
aborted
private volatile boolean aborted -
animTicks
private int animTicks -
task
-
buttonLength
private final int buttonLength- See Also:
-
cancelOrBackButton
-
SYMBOLS
-
-
Constructor Details
-
RealmsLongRunningMcoTaskScreen
-
-
Method Details
-
tick
public void tick() -
keyPressed
public boolean keyPressed(int p_88781_, int p_88782_, int p_88783_) - Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
init
public void init() -
cancelOrBackButtonClicked
private void cancelOrBackButtonClicked() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
error
- Specified by:
error
in interfaceErrorCallback
-
setTitle
-
aborted
public boolean aborted()
-