Package net.minecraft.client.gui.screen
Class AccessibilityOnboardingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.AccessibilityOnboardingScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official ewv
intermediary net/minecraft/class_8032
named net/minecraft/client/gui/screen/AccessibilityOnboardingScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RotatingCubeMapRenderer
private static final int
private static final int
private final GameOptions
private final boolean
private final LogoDrawer
private static final Text
private boolean
private float
private final Runnable
private @Nullable NarratedMultilineTextWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.private void
saveAndRun
(Runnable callback) private void
private void
private int
yMargin()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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. -
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() -
setScreen
- 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
- 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
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
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 classScreen
- 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
-