Class AccessibilityOnboardingScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • NARRATOR_PROMPT

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

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

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

      private final RotatingCubeMapRenderer backgroundRenderer
      Mappings:
      Namespace Name Mixin selector
      official k Lfbm;k:Lftj;
      intermediary field_41840 Lnet/minecraft/class_8032;field_41840:Lnet/minecraft/class_766;
      named backgroundRenderer Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;backgroundRenderer:Lnet/minecraft/client/gui/RotatingCubeMapRenderer;
    • logoDrawer

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

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

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

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

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

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

      Mappings:
      Namespace Name Mixin selector
      official r Lfbm;r:Lexr;
      intermediary field_41845 Lnet/minecraft/class_8032;field_41845:Lnet/minecraft/class_8019;
      named textWidget Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;textWidget:Lnet/minecraft/client/gui/widget/NarratedMultilineTextWidget;
  • Constructor Details

    • AccessibilityOnboardingScreen

      public AccessibilityOnboardingScreen(GameOptions gameOptions, Runnable onClose)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfbm;<init>(Levm;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_8032;<init>(Lnet/minecraft/class_315;Ljava/lang/Runnable;)V
      named <init> Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;<init>(Lnet/minecraft/client/option/GameOptions;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 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 aN_ Lfdb;aN_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • yMargin

      private int yMargin()
      Mappings:
      Namespace Name Mixin selector
      official n Lfbm;n()I
      intermediary method_48259 Lnet/minecraft/class_8032;method_48259()I
      named yMargin Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;yMargin()I
    • close

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aE_ Lfdb;aE_()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
    • setScreen

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

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

      public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta)
      Renders the background of this screen.

      If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.

      Overrides:
      renderBackground in class Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lfdb;b(Lewu;IIF)V
      intermediary method_25420 Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
      named renderBackground Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • tickNarratorPrompt

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