Class RealmsGenericErrorScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class RealmsGenericErrorScreen extends RealmsScreen
Mappings:
Namespace Name
official ecj
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 Lecj;a:Lekj;
      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 Lecj;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 Lecj;c:Lehe;
      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> Lecj;<init>(Lebt;Lekj;)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> Lecj;<init>(Lrm;Lekj;)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> Lecj;<init>(Lrm;Lrm;Lekj;)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 Lecj;a(Lebt;)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 Lecj;a(Lrm;)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 Lecj;a(Lrm;Lrm;)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.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lekj;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 af_ Lekj;af_()Lrm;
      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 Lehn;a(Ldzt;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