Class RealmsGenericErrorScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RealmsGenericErrorScreen extends RealmsScreen
Mappings:
Namespace Name
official ekw
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 Lekw;a:Leug;
      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 Lekw;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 Lekw;c:Lepq;
      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> Lekw;<init>(Leke;Leug;)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> Lekw;<init>(Lsw;Leug;)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> Lekw;<init>(Lsw;Lsw;Leug;)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 Lekw;a(Leke;)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 Lekw;a(Lsw;)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 Lekw;a(Lsw;Lsw;)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 Leug;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 au_ Leug;au_()Lsw;
      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(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lepy;a(Leop;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V