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/DisconnectedScreen
intermediary net/minecraft/class_419
official fte
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Text
private final DirectionalLayoutWidget
private final DisconnectionInfo
private static final Text
private final Screen
private static final Text
private static final Text
private static final Text
Fields 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, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionDisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info) DisconnectedScreen
(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel) DisconnectedScreen
(Screen parent, Text title, Text reason) DisconnectedScreen
(Screen parent, Text title, Text reason, Text buttonLabel) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Called when a screen should be initialized.protected void
boolean
Checks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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_TEXT
Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_MENU_TEXT:Lnet/minecraft/text/Text;
intermediary field_44549
Lnet/minecraft/class_419;field_44549:Lnet/minecraft/class_2561;
official a
Lfte;a:Lxv;
-
TO_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TO_TITLE_TEXT
Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_44550
Lnet/minecraft/class_419;field_44550:Lnet/minecraft/class_2561;
official b
Lfte;b:Lxv;
-
REPORT_TO_SERVER_TEXT
- Mappings:
Namespace Name Mixin selector named REPORT_TO_SERVER_TEXT
Lnet/minecraft/client/gui/screen/DisconnectedScreen;REPORT_TO_SERVER_TEXT:Lnet/minecraft/text/Text;
intermediary field_52129
Lnet/minecraft/class_419;field_52129:Lnet/minecraft/class_2561;
official c
Lfte;c:Lxv;
-
OPEN_REPORT_DIR_TEXT
- Mappings:
Namespace Name Mixin selector named OPEN_REPORT_DIR_TEXT
Lnet/minecraft/client/gui/screen/DisconnectedScreen;OPEN_REPORT_DIR_TEXT:Lnet/minecraft/text/Text;
intermediary field_52130
Lnet/minecraft/class_419;field_52130:Lnet/minecraft/class_2561;
official d
Lfte;d:Lxv;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/DisconnectedScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_2456
Lnet/minecraft/class_419;field_2456:Lnet/minecraft/class_437;
official s
Lfte;s:Lftx;
-
info
- Mappings:
Namespace Name Mixin selector named info
Lnet/minecraft/client/gui/screen/DisconnectedScreen;info:Lnet/minecraft/network/DisconnectionInfo;
intermediary field_52131
Lnet/minecraft/class_419;field_52131:Lnet/minecraft/class_9812;
official u
Lfte;u:Lwr;
-
buttonLabel
- Mappings:
Namespace Name Mixin selector named buttonLabel
Lnet/minecraft/client/gui/screen/DisconnectedScreen;buttonLabel:Lnet/minecraft/text/Text;
intermediary field_44551
Lnet/minecraft/class_419;field_44551:Lnet/minecraft/class_2561;
official v
Lfte;v:Lxv;
-
grid
- Mappings:
Namespace Name Mixin selector named grid
Lnet/minecraft/client/gui/screen/DisconnectedScreen;grid:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
intermediary field_44552
Lnet/minecraft/class_419;field_44552:Lnet/minecraft/class_8667;
official w
Lfte;w:Lfrx;
-
-
Constructor Details
-
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/text/Text;)V
intermediary <init>
Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
official <init>
Lfte;<init>(Lftx;Lxv;Lxv;)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/text/Text;Lnet/minecraft/text/Text;)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
official <init>
Lfte;<init>(Lftx;Lxv;Lxv;Lxv;)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/network/DisconnectionInfo;)V
intermediary <init>
Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;)V
official <init>
Lfte;<init>(Lftx;Lxv;Lwr;)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/network/DisconnectionInfo;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;Lnet/minecraft/class_2561;)V
official <init>
Lfte;<init>(Lftx;Lxv;Lwr;Lxv;)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.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;c()V
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
official i
Lftx;i()Lxv;
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEsc
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
official aH_
Lftx;aH_()Z
-