Class RealmsGenericErrorScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class RealmsGenericErrorScreen extends RealmsScreen
Mappings:
Namespace Name
official edi
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 Ledi;a:Lelm;
      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 Ledi;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 Ledi;c:Leic;
      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> Ledi;<init>(Lecq;Lelm;)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> Ledi;<init>(Lrq;Lelm;)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> Ledi;<init>(Lrq;Lrq;Lelm;)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 Ledi;a(Lecq;)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 Ledi;a(Lrq;)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 Ledi;a(Lrq;Lrq;)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 Lelm;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 ae_ Lelm;ae_()Lrq;
      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 Leio;a(Leaq;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