Class RealmsGenericErrorScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsGenericErrorScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen
intermediary net/minecraft/class_4394
official fct
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static final record
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate MultilineText
private final RealmsGenericErrorScreen.ErrorMessages
private final Screen
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33042, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, MAX_FILE_SIZE
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, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsGenericErrorScreen
(RealmsServiceException realmsServiceException, Screen parent) RealmsGenericErrorScreen
(Text description, Screen parent) RealmsGenericErrorScreen
(Text title, Text description, Screen parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static RealmsGenericErrorScreen.ErrorMessages
getErrorMessages
(RealmsServiceException exception) private static RealmsGenericErrorScreen.ErrorMessages
getErrorMessages
(Text description) private static RealmsGenericErrorScreen.ErrorMessages
getErrorMessages
(Text title, Text description) void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
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, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
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
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_22695
Lnet/minecraft/class_4394;field_22695:Lnet/minecraft/class_437;
official a
Lfct;a:Lfne;
-
errorMessages
- Mappings:
Namespace Name Mixin selector named errorMessages
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;errorMessages:Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen$ErrorMessages;
intermediary field_36321
Lnet/minecraft/class_4394;field_36321:Lnet/minecraft/class_4394$class_8570;
official b
Lfct;b:Lfct$a;
-
description
- Mappings:
Namespace Name Mixin selector named description
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;description:Lnet/minecraft/client/font/MultilineText;
intermediary field_36322
Lnet/minecraft/class_4394;field_36322:Lnet/minecraft/class_5489;
official c
Lfct;c:Lfhy;
-
-
Constructor Details
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;<init>(Lnet/minecraft/client/realms/exception/RealmsServiceException;Lnet/minecraft/client/gui/screen/Screen;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_4355;Lnet/minecraft/class_437;)V
official <init>
Lfct;<init>(Lfcc;Lfne;)V
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_437;)V
official <init>
Lfct;<init>(Lxp;Lfne;)V
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_437;)V
official <init>
Lfct;<init>(Lxp;Lxp;Lfne;)V
-
-
Method Details
-
getErrorMessages
private static RealmsGenericErrorScreen.ErrorMessages getErrorMessages(RealmsServiceException exception) - Mappings:
Namespace Name Mixin selector named getErrorMessages
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/client/realms/exception/RealmsServiceException;)Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen$ErrorMessages;
intermediary method_39981
Lnet/minecraft/class_4394;method_39981(Lnet/minecraft/class_4355;)Lnet/minecraft/class_4394$class_8570;
official a
Lfct;a(Lfcc;)Lfct$a;
-
getErrorMessages
- Mappings:
Namespace Name Mixin selector named getErrorMessages
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/text/Text;)Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen$ErrorMessages;
intermediary method_21282
Lnet/minecraft/class_4394;method_21282(Lnet/minecraft/class_2561;)Lnet/minecraft/class_4394$class_8570;
official a
Lfct;a(Lxp;)Lfct$a;
-
getErrorMessages
private static RealmsGenericErrorScreen.ErrorMessages getErrorMessages(Text title, Text description) - Mappings:
Namespace Name Mixin selector named getErrorMessages
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen$ErrorMessages;
intermediary method_21283
Lnet/minecraft/class_4394;method_21283(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Lnet/minecraft/class_4394$class_8570;
official a
Lfct;a(Lxp;Lxp;)Lfct$a;
-
init
public 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. -
close
public void close() -
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
Lfne;i()Lxp;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfii;a(Lfgs;IIF)V
-