Class RealmsGenericErrorScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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
,ParentElement
,TickableElement
@Environment(CLIENT) public class RealmsGenericErrorScreen extends RealmsScreen
- Mappings:
Namespace Name official dob
intermediary net/minecraft/class_4394
named net/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen
-
Field Summary
Fields Modifier and Type Field Description private Text
line1
private Text
line2
private Screen
parent
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description RealmsGenericErrorScreen(RealmsServiceException realmsServiceException, Screen parent)
RealmsGenericErrorScreen(Text line2, Screen parent)
RealmsGenericErrorScreen(Text line1, Text line2, Screen parent)
-
Method Summary
Modifier and Type Method Description private void
errorMessage(RealmsServiceException realmsServiceException)
private void
errorMessage(Text line2)
private void
errorMessage(Text line1, Text line2)
void
init()
Called when a screen should be initialized.void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official a
Ldob;a:Ldve;
intermediary field_22695
Lnet/minecraft/class_4394;field_22695:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
line1
- Mappings:
Namespace Name Mixin selector official b
Ldob;b:Loi;
intermediary field_19875
Lnet/minecraft/class_4394;field_19875:Lnet/minecraft/class_2561;
named line1
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;line1:Lnet/minecraft/text/Text;
-
line2
- Mappings:
Namespace Name Mixin selector official c
Ldob;c:Loi;
intermediary field_19876
Lnet/minecraft/class_4394;field_19876:Lnet/minecraft/class_2561;
named line2
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;line2:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldob;<init>(Ldnn;Ldve;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_4355;Lnet/minecraft/class_437;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;<init>(Lnet/minecraft/client/realms/exception/RealmsServiceException;Lnet/minecraft/client/gui/screen/Screen;)V
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldob;<init>(Loi;Ldve;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_437;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;<init>(Lnet/minecraft/text/Text;Lnet/minecraft/client/gui/screen/Screen;)V
-
RealmsGenericErrorScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldob;<init>(Loi;Loi;Ldve;)V
intermediary <init>
Lnet/minecraft/class_4394;<init>(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_437;)V
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
-
-
Method Details
-
errorMessage
- Mappings:
Namespace Name Mixin selector official a
Ldob;a(Ldnn;)V
intermediary method_21280
Lnet/minecraft/class_4394;method_21280(Lnet/minecraft/class_4355;)V
named errorMessage
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;errorMessage(Lnet/minecraft/client/realms/exception/RealmsServiceException;)V
-
errorMessage
- Mappings:
Namespace Name Mixin selector official a
Ldob;a(Loi;)V
intermediary method_21282
Lnet/minecraft/class_4394;method_21282(Lnet/minecraft/class_2561;)V
named errorMessage
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;errorMessage(Lnet/minecraft/text/Text;)V
-
errorMessage
- Mappings:
Namespace Name Mixin selector official a
Ldob;a(Loi;Loi;)V
intermediary method_21283
Lnet/minecraft/class_4394;method_21283(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
named errorMessage
Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;errorMessage(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-