Class DisconnectedRealmsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • reason

      private final Text reason
      Mappings:
      Namespace Name Mixin selector
      named reason Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;reason:Lnet/minecraft/text/Text;
      intermediary field_22808 Lnet/minecraft/class_4899;field_22808:Lnet/minecraft/class_2561;
      official a Lgvd;a:Lxp;
    • lines

      private MultilineText lines
      Mappings:
      Namespace Name Mixin selector
      named lines Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;lines:Lnet/minecraft/client/font/MultilineText;
      intermediary field_22809 Lnet/minecraft/class_4899;field_22809:Lnet/minecraft/class_5489;
      official b Lgvd;b:Lfhy;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_22810 Lnet/minecraft/class_4899;field_22810:Lnet/minecraft/class_437;
      official c Lgvd;c:Lfne;
    • textHeight

      private int textHeight
      Mappings:
      Namespace Name Mixin selector
      named textHeight Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;textHeight:I
      intermediary field_22811 Lnet/minecraft/class_4899;field_22811:I
      official B Lgvd;B:I
  • Constructor Details

    • DisconnectedRealmsScreen

      public DisconnectedRealmsScreen(Screen parent, Text title, Text reason)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_4899;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      official <init> Lgvd;<init>(Lfne;Lxp;Lxp;)V
  • Method Details

    • 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() to set the element that is initially focused.

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

      public Text getNarratedTitle()
      Overrides:
      getNarratedTitle in class Screen
      Mappings:
      Namespace Name Mixin selector
      named getNarratedTitle Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
      intermediary method_25435 Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
      official i Lfne;i()Lxp;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official d Lfne;d()V
    • 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
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfii;a(Lfgs;IIF)V