Class DisconnectedScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class DisconnectedScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/DisconnectedScreen
intermediary net/minecraft/class_419
official fnk
  • Field Details

    • TO_MENU_TEXT

      private static final Text TO_MENU_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TO_MENU_TEXT Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_MENU_TEXT:Lnet/minecraft/text/Text;
      intermediary field_44549 Lnet/minecraft/class_419;field_44549:Lnet/minecraft/class_2561;
      official a Lfnk;a:Lwz;
    • TO_TITLE_TEXT

      private static final Text TO_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TO_TITLE_TEXT Lnet/minecraft/client/gui/screen/DisconnectedScreen;TO_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_44550 Lnet/minecraft/class_419;field_44550:Lnet/minecraft/class_2561;
      official b Lfnk;b:Lwz;
    • REPORT_TO_SERVER_TEXT

      private static final Text REPORT_TO_SERVER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named REPORT_TO_SERVER_TEXT Lnet/minecraft/client/gui/screen/DisconnectedScreen;REPORT_TO_SERVER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_52129 Lnet/minecraft/class_419;field_52129:Lnet/minecraft/class_2561;
      official c Lfnk;c:Lwz;
    • OPEN_REPORT_DIR_TEXT

      private static final Text OPEN_REPORT_DIR_TEXT
      Mappings:
      Namespace Name Mixin selector
      named OPEN_REPORT_DIR_TEXT Lnet/minecraft/client/gui/screen/DisconnectedScreen;OPEN_REPORT_DIR_TEXT:Lnet/minecraft/text/Text;
      intermediary field_52130 Lnet/minecraft/class_419;field_52130:Lnet/minecraft/class_2561;
      official r Lfnk;r:Lwz;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/DisconnectedScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_2456 Lnet/minecraft/class_419;field_2456:Lnet/minecraft/class_437;
      official s Lfnk;s:Lfod;
    • info

      private final DisconnectionInfo info
      Mappings:
      Namespace Name Mixin selector
      named info Lnet/minecraft/client/gui/screen/DisconnectedScreen;info:Lnet/minecraft/network/DisconnectionInfo;
      intermediary field_52131 Lnet/minecraft/class_419;field_52131:Lnet/minecraft/class_9812;
      official u Lfnk;u:Lvv;
    • buttonLabel

      private final Text buttonLabel
      Mappings:
      Namespace Name Mixin selector
      named buttonLabel Lnet/minecraft/client/gui/screen/DisconnectedScreen;buttonLabel:Lnet/minecraft/text/Text;
      intermediary field_44551 Lnet/minecraft/class_419;field_44551:Lnet/minecraft/class_2561;
      official v Lfnk;v:Lwz;
    • grid

      private final DirectionalLayoutWidget grid
      Mappings:
      Namespace Name Mixin selector
      named grid Lnet/minecraft/client/gui/screen/DisconnectedScreen;grid:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
      intermediary field_44552 Lnet/minecraft/class_419;field_44552:Lnet/minecraft/class_8667;
      official w Lfnk;w:Lfmd;
  • Constructor Details

    • DisconnectedScreen

      public DisconnectedScreen(Screen parent, Text title, Text reason)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      official <init> Lfnk;<init>(Lfod;Lwz;Lwz;)V
    • DisconnectedScreen

      public DisconnectedScreen(Screen parent, Text title, Text reason, Text buttonLabel)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
      official <init> Lfnk;<init>(Lfod;Lwz;Lwz;Lwz;)V
    • DisconnectedScreen

      public DisconnectedScreen(Screen parent, Text title, DisconnectionInfo info)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/network/DisconnectionInfo;)V
      intermediary <init> Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;)V
      official <init> Lfnk;<init>(Lfod;Lwz;Lvv;)V
    • DisconnectedScreen

      public DisconnectedScreen(Screen parent, Text title, DisconnectionInfo info, Text buttonLabel)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/DisconnectedScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/network/DisconnectionInfo;Lnet/minecraft/text/Text;)V
      intermediary <init> Lnet/minecraft/class_419;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_9812;Lnet/minecraft/class_2561;)V
      official <init> Lfnk;<init>(Lfod;Lwz;Lvv;Lwz;)V
  • Method Details

    • init

      protected 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 aT_ Lfod;aT_()V
    • initTabNavigation

      protected void initTabNavigation()
      Overrides:
      initTabNavigation in class Screen
      Mappings:
      Namespace Name Mixin selector
      named initTabNavigation Lnet/minecraft/client/gui/screen/Screen;initTabNavigation()V
      intermediary method_48640 Lnet/minecraft/class_437;method_48640()V
      official c Lfod;c()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 Lfod;i()Lwz;
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Checks whether this screen should be closed when the escape key is pressed.
      Overrides:
      shouldCloseOnEsc in class Screen
      Mappings:
      Namespace Name Mixin selector
      named shouldCloseOnEsc Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
      intermediary method_25422 Lnet/minecraft/class_437;method_25422()Z
      official aJ_ Lfod;aJ_()Z