Class RealmsGenericErrorScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsGenericErrorScreen extends RealmsScreen
Mappings:
Namespace Name
official ejy
intermediary net/minecraft/class_4394
named net/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen
  • Field Details

    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a:Letd;
      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;
    • errorMessages

      private final com.mojang.datafixers.util.Pair<Text,Text> errorMessages
      Mappings:
      Namespace Name Mixin selector
      official b Lejy;b:Lcom/mojang/datafixers/util/Pair;
      intermediary field_36321 Lnet/minecraft/class_4394;field_36321:Lcom/mojang/datafixers/util/Pair;
      named errorMessages Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;errorMessages:Lcom/mojang/datafixers/util/Pair;
    • description

      private MultilineText description
      Mappings:
      Namespace Name Mixin selector
      official c Lejy;c:Leos;
      intermediary field_36322 Lnet/minecraft/class_4394;field_36322:Lnet/minecraft/class_5489;
      named description Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;description:Lnet/minecraft/client/font/MultilineText;
  • Constructor Details

    • RealmsGenericErrorScreen

      public RealmsGenericErrorScreen(RealmsServiceException realmsServiceException, Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejy;<init>(Lejg;Letd;)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

      public RealmsGenericErrorScreen(Text description, Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejy;<init>(Ltj;Letd;)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

      public RealmsGenericErrorScreen(Text title, Text description, Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejy;<init>(Ltj;Ltj;Letd;)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

    • getErrorMessages

      private static com.mojang.datafixers.util.Pair<Text,Text> getErrorMessages(RealmsServiceException exception)
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a(Lejg;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_39981 Lnet/minecraft/class_4394;method_39981(Lnet/minecraft/class_4355;)Lcom/mojang/datafixers/util/Pair;
      named getErrorMessages Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/client/realms/exception/RealmsServiceException;)Lcom/mojang/datafixers/util/Pair;
    • getErrorMessages

      private static com.mojang.datafixers.util.Pair<Text,Text> getErrorMessages(Text description)
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a(Ltj;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_21282 Lnet/minecraft/class_4394;method_21282(Lnet/minecraft/class_2561;)Lcom/mojang/datafixers/util/Pair;
      named getErrorMessages Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/text/Text;)Lcom/mojang/datafixers/util/Pair;
    • getErrorMessages

      private static com.mojang.datafixers.util.Pair<Text,Text> getErrorMessages(Text title, Text description)
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a(Ltj;Ltj;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_21283 Lnet/minecraft/class_4394;method_21283(Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Lcom/mojang/datafixers/util/Pair;
      named getErrorMessages Lnet/minecraft/client/realms/gui/screen/RealmsGenericErrorScreen;getErrorMessages(Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)Lcom/mojang/datafixers/util/Pair;
    • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Letd;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • getNarratedTitle

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aw_ Letd;aw_()Ltj;
      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;
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lepa;a(Lehe;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