Class AccessibilityOnboardingScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class AccessibilityOnboardingScreen extends Screen
Mappings:
Namespace Name
official ewv
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 Lewv;a:Ltl;
      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 Lewv;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 Lewv;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 Lewv;k:Lfog;
      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 Lewv;l:Leth;
      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 Lewv;m:Leqz;
      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 Lewv;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 Lewv;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 Lewv;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 Lewv;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

      @Nullable private @Nullable NarratedMultilineTextWidget textWidget
      Mappings:
      Namespace Name Mixin selector
      official s Lewv;s:Letb;
      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> Lewv;<init>(Leqz;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 aH_ Leyk;aH_()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 l Lewv;l()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 az_ Leyk;az_()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 Lewv;a(Leyk;)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 Lewv;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 Lets;a(Lesf;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 Leyk;b(Lesf;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 Lewv;D()V
      intermediary method_48260 Lnet/minecraft/class_8032;method_48260()V
      named tickNarratorPrompt Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;tickNarratorPrompt()V