Class DisconnectedRealmsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class DisconnectedRealmsScreen extends RealmsScreen
Mappings:
Namespace Name
official fzy
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 Lfzy;a:Lsw;
      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 Lfzy;b:Lepq;
      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 Lfzy;c:Leug;
      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 F Lfzy;F: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> Lfzy;<init>(Leug;Lsw;Lsw;)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 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;
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aw_ Leug;aw_()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(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