Class AccessibilityOnboardingScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_49490 Lnet/minecraft/class_8032;field_49490:Lnet/minecraft/class_2561;
      official a Lfmp;a:Lwy;
    • NARRATOR_PROMPT

      private static final Text NARRATOR_PROMPT
      Mappings:
      Namespace Name Mixin selector
      named NARRATOR_PROMPT Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;NARRATOR_PROMPT:Lnet/minecraft/text/Text;
      intermediary field_41837 Lnet/minecraft/class_8032;field_41837:Lnet/minecraft/class_2561;
      official b Lfmp;b:Lwy;
    • field_41838

      private static final int field_41838
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41838 Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;field_41838:I
      intermediary field_41838 Lnet/minecraft/class_8032;field_41838:I
      official c Lfmp;c:I
    • field_41839

      private static final int field_41839
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41839 Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;field_41839:I
      intermediary field_41839 Lnet/minecraft/class_8032;field_41839:I
      official q Lfmp;q:I
    • logoDrawer

      private final LogoDrawer logoDrawer
      Mappings:
      Namespace Name Mixin selector
      named logoDrawer Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;logoDrawer:Lnet/minecraft/client/gui/LogoDrawer;
      intermediary field_41841 Lnet/minecraft/class_8032;field_41841:Lnet/minecraft/class_8020;
      official r Lfmp;r:Lfix;
    • gameOptions

      private final GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      named gameOptions Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;gameOptions:Lnet/minecraft/client/option/GameOptions;
      intermediary field_41842 Lnet/minecraft/class_8032;field_41842:Lnet/minecraft/class_315;
      official s Lfmp;s:Lfgm;
    • isNarratorUsable

      private final boolean isNarratorUsable
      Mappings:
      Namespace Name Mixin selector
      named isNarratorUsable Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;isNarratorUsable:Z
      intermediary field_42038 Lnet/minecraft/class_8032;field_42038:Z
      official u Lfmp;u:Z
    • narratorPrompted

      private boolean narratorPrompted
      Mappings:
      Namespace Name Mixin selector
      named narratorPrompted Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;narratorPrompted:Z
      intermediary field_41843 Lnet/minecraft/class_8032;field_41843:Z
      official v Lfmp;v:Z
    • narratorPromptTimer

      private float narratorPromptTimer
      Mappings:
      Namespace Name Mixin selector
      named narratorPromptTimer Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;narratorPromptTimer:F
      intermediary field_41844 Lnet/minecraft/class_8032;field_41844:F
      official w Lfmp;w:F
    • onClose

      private final Runnable onClose
      Mappings:
      Namespace Name Mixin selector
      named onClose Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;onClose:Ljava/lang/Runnable;
      intermediary field_46008 Lnet/minecraft/class_8032;field_46008:Ljava/lang/Runnable;
      official x Lfmp;x:Ljava/lang/Runnable;
    • textWidget

      Mappings:
      Namespace Name Mixin selector
      named textWidget Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;textWidget:Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;
      intermediary field_41845 Lnet/minecraft/class_8032;field_41845:Lnet/minecraft/class_8019;
      official y Lfmp;y:Lfir;
    • narratorWidget

      @Nullable private @Nullable ClickableWidget narratorWidget
      Mappings:
      Namespace Name Mixin selector
      named narratorWidget Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;narratorWidget:Lnet/minecraft/client/gui/widget/ClickableWidget;
      intermediary field_48395 Lnet/minecraft/class_8032;field_48395:Lnet/minecraft/class_339;
      official z Lfmp;z:Lfie;
    • layout

      private final ThreePartsLayoutWidget layout
      Mappings:
      Namespace Name Mixin selector
      named layout Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
      intermediary field_49491 Lnet/minecraft/class_8032;field_49491:Lnet/minecraft/class_8132;
      official A Lfmp;A:Lflt;
  • Constructor Details

    • AccessibilityOnboardingScreen

      public AccessibilityOnboardingScreen(GameOptions gameOptions, Runnable onClose)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;<init>(Lnet/minecraft/client/option/GameOptions;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_8032;<init>(Lnet/minecraft/class_315;Ljava/lang/Runnable;)V
      official <init> Lfmp;<init>(Lfgm;Ljava/lang/Runnable;)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 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
    • setInitialFocus

      protected void setInitialFocus()
      Overrides:
      setInitialFocus in class Screen
      Mappings:
      Namespace Name Mixin selector
      named setInitialFocus Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
      intermediary method_56131 Lnet/minecraft/class_437;method_56131()V
      official aE_ Lfnx;aE_()V
    • yMargin

      private int yMargin()
      Mappings:
      Namespace Name Mixin selector
      named yMargin Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;yMargin()I
      intermediary method_48259 Lnet/minecraft/class_8032;method_48259()I
      official m Lfmp;m()I
    • 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
    • setScreen

      private void setScreen(Screen screen)
      Mappings:
      Namespace Name Mixin selector
      named setScreen Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;setScreen(Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary method_49296 Lnet/minecraft/class_8032;method_49296(Lnet/minecraft/class_437;)V
      official a Lfmp;a(Lfnx;)V
    • saveAndRun

      private void saveAndRun(Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      named saveAndRun Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;saveAndRun(Ljava/lang/Runnable;)V
      intermediary method_53552 Lnet/minecraft/class_8032;method_53552(Ljava/lang/Runnable;)V
      official a Lfmp;a(Ljava/lang/Runnable;)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 Lfjj;a(Lfht;IIF)V
    • renderPanoramaBackground

      protected void renderPanoramaBackground(DrawContext context, float delta)
      Overrides:
      renderPanoramaBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      named renderPanoramaBackground Lnet/minecraft/client/gui/screen/Screen;renderPanoramaBackground(Lnet/minecraft/client/gui/DrawContext;F)V
      intermediary method_57728 Lnet/minecraft/class_437;method_57728(Lnet/minecraft/class_332;F)V
      official a Lfnx;a(Lfht;F)V
    • tickNarratorPrompt

      private void tickNarratorPrompt()
      Mappings:
      Namespace Name Mixin selector
      named tickNarratorPrompt Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;tickNarratorPrompt()V
      intermediary method_48260 Lnet/minecraft/class_8032;method_48260()V
      official D Lfmp;D()V
    • refreshNarratorOption

      public void refreshNarratorOption()
      Mappings:
      Namespace Name Mixin selector
      named refreshNarratorOption Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;refreshNarratorOption()V
      intermediary method_60323 Lnet/minecraft/class_8032;method_60323()V
      official h Lfmp;h()V