Class DisconnectedRealmsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • reason

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

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

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

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

    • DisconnectedRealmsScreen

      public DisconnectedRealmsScreen(Screen parent, Text title, Text reason)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfyp;<init>(Letd;Ltj;Ltj;)V
      intermediary <init> Lnet/minecraft/class_4899;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      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
  • 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(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 Letd;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 aw_ Letd;aw_()Ltj;
      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;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official ay_ Letd;ay_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • 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 Lepa;a(Lehe;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