Package net.minecraft.client.gui.screen
Class DisconnectedScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.DisconnectedScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - ett- intermediary - net/minecraft/class_419- named - net/minecraft/client/gui/screen/DisconnectedScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Textprivate final GridWidgetprivate final Screenprivate final Textprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionDisconnectedScreen(Screen parent, Text title, Text reason) DisconnectedScreen(Screen parent, Text title, Text reason, Text buttonLabel) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidvoidrender(DrawContext context, int mouseX, int mouseY, float delta) booleanChecks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
TO_MENU_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - a- Lett;a:Lsw;- intermediary - field_44549- Lnet/minecraft/class_419;field_44549:Lnet/minecraft/class_2561;- named - TO_MENU_TEXT- Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_MENU_TEXT:Lnet/minecraft/text/Text;
 
- 
TO_TITLE_TEXT- Mappings:
- Namespace - Name - Mixin selector - official - b- Lett;b:Lsw;- intermediary - field_44550- Lnet/minecraft/class_419;field_44550:Lnet/minecraft/class_2561;- named - TO_TITLE_TEXT- Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_TITLE_TEXT:Lnet/minecraft/text/Text;
 
- 
parent- Mappings:
- Namespace - Name - Mixin selector - official - c- Lett;c:Leuq;- intermediary - field_2456- Lnet/minecraft/class_419;field_2456:Lnet/minecraft/class_437;- named - parent- Lnet/minecraft/client/gui/screen/DisconnectedScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
 
- 
reason- Mappings:
- Namespace - Name - Mixin selector - official - k- Lett;k:Lsw;- intermediary - field_2457- Lnet/minecraft/class_419;field_2457:Lnet/minecraft/class_2561;- named - reason- Lnet/minecraft/client/gui/screen/DisconnectedScreen;reason:Lnet/minecraft/text/Text;
 
- 
buttonLabel- Mappings:
- Namespace - Name - Mixin selector - official - l- Lett;l:Lsw;- intermediary - field_44551- Lnet/minecraft/class_419;field_44551:Lnet/minecraft/class_2561;- named - buttonLabel- Lnet/minecraft/client/gui/screen/DisconnectedScreen;buttonLabel:Lnet/minecraft/text/Text;
 
- 
grid- Mappings:
- Namespace - Name - Mixin selector - official - m- Lett;m:Lesf;- intermediary - field_44552- Lnet/minecraft/class_419;field_44552:Lnet/minecraft/class_7845;- named - grid- Lnet/minecraft/client/gui/screen/DisconnectedScreen;grid:Lnet/minecraft/client/gui/widget/GridWidget;
 
 
- 
- 
Constructor Details- 
DisconnectedScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lett;<init>(Leuq;Lsw;Lsw;)V- intermediary - <init>- Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V- named - <init>- Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
 
- 
DisconnectedScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lett;<init>(Leuq;Lsw;Lsw;Lsw;)V- intermediary - <init>- Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V- named - <init>- Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
 
 
- 
- 
Method Details- 
initprotected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized. This should call Screen.setInitialFocus(net.minecraft.client.gui.Element)to set the element that is initially focused.
- 
getNarratedTitle- Overrides:
- getNarratedTitlein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - au_- Leuq;au_()Lsw;- intermediary - method_25435- Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;- named - getNarratedTitle- Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
 
- 
shouldCloseOnEscpublic boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
- shouldCloseOnEscin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - av_- Leuq;av_()Z- intermediary - method_25422- Lnet/minecraft/class_437;method_25422()Z- named - shouldCloseOnEsc- Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
 
-