Class RecoverWorldScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class RecoverWorldScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/RecoverWorldScreen
intermediary net/minecraft/class_8897
official fnw
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_46862 Lnet/minecraft/class_8897;field_46862:Lorg/slf4j/Logger;
      official a Lfnw;a:Lorg/slf4j/Logger;
    • field_46863

      private static final int field_46863
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_46863 Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;field_46863:I
      intermediary field_46863 Lnet/minecraft/class_8897;field_46863:I
      official b Lfnw;b:I
    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46864 Lnet/minecraft/class_8897;field_46864:Lnet/minecraft/class_2561;
      official c Lfnw;c:Lwy;
    • BUG_TRACKER_TEXT

      private static final Text BUG_TRACKER_TEXT
      Mappings:
      Namespace Name Mixin selector
      named BUG_TRACKER_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;BUG_TRACKER_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46865 Lnet/minecraft/class_8897;field_46865:Lnet/minecraft/class_2561;
      official q Lfnw;q:Lwy;
    • RESTORE_TEXT

      private static final Text RESTORE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named RESTORE_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46866 Lnet/minecraft/class_8897;field_46866:Lnet/minecraft/class_2561;
      official r Lfnw;r:Lwy;
    • NO_FALLBACK_TEXT

      private static final Text NO_FALLBACK_TEXT
      Mappings:
      Namespace Name Mixin selector
      named NO_FALLBACK_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;NO_FALLBACK_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46867 Lnet/minecraft/class_8897;field_46867:Lnet/minecraft/class_2561;
      official s Lfnw;s:Lwy;
    • DONE_TITLE_TEXT

      private static final Text DONE_TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named DONE_TITLE_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46868 Lnet/minecraft/class_8897;field_46868:Lnet/minecraft/class_2561;
      official u Lfnw;u:Lwy;
    • DONE_SUCCESS_TEXT

      private static final Text DONE_SUCCESS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named DONE_SUCCESS_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_SUCCESS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46869 Lnet/minecraft/class_8897;field_46869:Lnet/minecraft/class_2561;
      official v Lfnw;v:Lwy;
    • DONE_FAILED_TEXT

      private static final Text DONE_FAILED_TEXT
      Mappings:
      Namespace Name Mixin selector
      named DONE_FAILED_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_FAILED_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46870 Lnet/minecraft/class_8897;field_46870:Lnet/minecraft/class_2561;
      official w Lfnw;w:Lwy;
    • ISSUE_NONE_TEXT

      private static final Text ISSUE_NONE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named ISSUE_NONE_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;ISSUE_NONE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46871 Lnet/minecraft/class_8897;field_46871:Lnet/minecraft/class_2561;
      official x Lfnw;x:Lwy;
    • MISSING_FILE_TEXT

      private static final Text MISSING_FILE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named MISSING_FILE_TEXT Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;MISSING_FILE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_46872 Lnet/minecraft/class_8897;field_46872:Lnet/minecraft/class_2561;
      official y Lfnw;y:Lwy;
    • callback

      private final BooleanConsumer callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      intermediary field_46873 Lnet/minecraft/class_8897;field_46873:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
      official z Lfnw;z:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
    • layout

      private final DirectionalLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
      intermediary field_46874 Lnet/minecraft/class_8897;field_46874:Lnet/minecraft/class_8667;
      official A Lfnw;A:Lflx;
    • message

      private final Text message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;message:Lnet/minecraft/text/Text;
      intermediary field_46875 Lnet/minecraft/class_8897;field_46875:Lnet/minecraft/class_2561;
      official B Lfnw;B:Lwy;
    • messageWidget

      private final MultilineTextWidget messageWidget
      Mappings:
      Namespace Name Mixin selector
      named messageWidget Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;messageWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
      intermediary field_46876 Lnet/minecraft/class_8897;field_46876:Lnet/minecraft/class_7940;
      official C Lfnw;C:Lfja;
    • exceptionWidget

      private final MultilineTextWidget exceptionWidget
      Mappings:
      Namespace Name Mixin selector
      named exceptionWidget Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;exceptionWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
      intermediary field_46877 Lnet/minecraft/class_8897;field_46877:Lnet/minecraft/class_7940;
      official D Lfnw;D:Lfja;
    • session

      private final LevelStorage.Session session
      Mappings:
      Namespace Name Mixin selector
      named session Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
      intermediary field_46878 Lnet/minecraft/class_8897;field_46878:Lnet/minecraft/class_32$class_5143;
      official E Lfnw;E:Leqz$c;
  • Constructor Details

    • RecoverWorldScreen

      public RecoverWorldScreen(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/world/level/storage/LevelStorage$Session;)V
      intermediary <init> Lnet/minecraft/class_8897;<init>(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)V
      official <init> Lfnw;<init>(Lfgi;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Leqz$c;)V
  • Method Details

    • tryRestore

      private void tryRestore(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named tryRestore Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;tryRestore(Lnet/minecraft/client/MinecraftClient;)V
      intermediary method_54585 Lnet/minecraft/class_8897;method_54585(Lnet/minecraft/class_310;)V
      official a Lfnw;a(Lfgi;)V
    • toText

      private Text toText(LevelStorage.Session session, boolean old, @Nullable @Nullable Exception exception)
      Mappings:
      Namespace Name Mixin selector
      named toText Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;toText(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLjava/lang/Exception;)Lnet/minecraft/text/Text;
      intermediary method_54584 Lnet/minecraft/class_8897;method_54584(Lnet/minecraft/class_32$class_5143;ZLjava/lang/Exception;)Lnet/minecraft/class_2561;
      official a Lfnw;a(Leqz$c;ZLjava/lang/Exception;)Lwy;
    • getLoadingException

      @Nullable private @Nullable Exception getLoadingException(LevelStorage.Session session, boolean old)
      Mappings:
      Namespace Name Mixin selector
      named getLoadingException Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;getLoadingException(Lnet/minecraft/world/level/storage/LevelStorage$Session;Z)Ljava/lang/Exception;
      intermediary method_54583 Lnet/minecraft/class_8897;method_54583(Lnet/minecraft/class_32$class_5143;Z)Ljava/lang/Exception;
      official a Lfnw;a(Leqz$c;Z)Ljava/lang/Exception;
    • 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 aP_ Lfnx;aP_()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 Lfnx;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 Lfnx;i()Lwy;
    • 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 Lfnx;d()V