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 gve
  • 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 Lgve;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 Lgve;b:Lfhz;
    • 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 Lgve;c:Lfnf;
    • 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 Lgve;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> Lgve;<init>(Lfnf;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_ Lfnf;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 Lfnf;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 Lfnf;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 Lfij;a(Lfgt;IIF)V