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 named net/minecraft/client/gui/screen/DisconnectedScreenintermediary net/minecraft/class_419official fne
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Textprivate static final Textprivate static final Textprivate final class_9812private final DirectionalLayoutWidgetprivate final Screenprivate static final Textprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionDisconnectedScreen(Screen parent, Text title, class_9812 class_9812) DisconnectedScreen(Screen parent, Text title, class_9812 class_9812, Text buttonLabel) DisconnectedScreen(Screen screen, Text text, Text text2) DisconnectedScreen(Screen screen, Text text, Text text2, Text text3) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.protected voidbooleanChecks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TO_MENU_TEXT
- Mappings:
Namespace Name Mixin selector named TO_MENU_TEXTLnet/minecraft/client/gui/screen/DisconnectedScreen;TO_MENU_TEXT:Lnet/minecraft/text/Text;intermediary field_44549Lnet/minecraft/class_419;field_44549:Lnet/minecraft/class_2561;official aLfne;a:Lwy;
-
TO_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TO_TITLE_TEXTLnet/minecraft/client/gui/screen/DisconnectedScreen;TO_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_44550Lnet/minecraft/class_419;field_44550:Lnet/minecraft/class_2561;official bLfne;b:Lwy;
-
field_52129
- Mappings:
Namespace Name Mixin selector named field_52129Lnet/minecraft/client/gui/screen/DisconnectedScreen;field_52129:Lnet/minecraft/text/Text;intermediary field_52129Lnet/minecraft/class_419;field_52129:Lnet/minecraft/class_2561;official cLfne;c:Lwy;
-
field_52130
- Mappings:
Namespace Name Mixin selector named field_52130Lnet/minecraft/client/gui/screen/DisconnectedScreen;field_52130:Lnet/minecraft/text/Text;intermediary field_52130Lnet/minecraft/class_419;field_52130:Lnet/minecraft/class_2561;official qLfne;q:Lwy;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/DisconnectedScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_2456Lnet/minecraft/class_419;field_2456:Lnet/minecraft/class_437;official rLfne;r:Lfnx;
-
field_52131
- Mappings:
Namespace Name Mixin selector named field_52131Lnet/minecraft/client/gui/screen/DisconnectedScreen;field_52131:Lnet/minecraft/class_9812;intermediary field_52131Lnet/minecraft/class_419;field_52131:Lnet/minecraft/class_9812;official sLfne;s:Lvu;
-
buttonLabel
- Mappings:
Namespace Name Mixin selector named buttonLabelLnet/minecraft/client/gui/screen/DisconnectedScreen;buttonLabel:Lnet/minecraft/text/Text;intermediary field_44551Lnet/minecraft/class_419;field_44551:Lnet/minecraft/class_2561;official uLfne;u:Lwy;
-
grid
- Mappings:
Namespace Name Mixin selector named gridLnet/minecraft/client/gui/screen/DisconnectedScreen;grid:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;intermediary field_44552Lnet/minecraft/class_419;field_44552:Lnet/minecraft/class_8667;official vLfne;v:Lflx;
-
-
Constructor Details
-
DisconnectedScreen
-
DisconnectedScreen
-
DisconnectedScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/class_9812;)Vintermediary <init>Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;)Vofficial <init>Lfne;<init>(Lfnx;Lwy;Lvu;)V
-
DisconnectedScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/class_9812;Lnet/minecraft/text/Text;)Vintermediary <init>Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;Lnet/minecraft/class_2561;)Vofficial <init>Lfne;<init>(Lfnx;Lwy;Lvu;Lwy;)V
-
-
Method Details
-
init
protected 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()to set the element that is initially focused. -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLfnx;i()Lwy;
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aF_Lfnx;aF_()Z
-