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 named net/minecraft/client/gui/screen/AccessibilityOnboardingScreen
intermediary net/minecraft/class_8032
official fsp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final GameOptions
private final boolean
private final ThreePartsLayoutWidget
private final LogoDrawer
private static final Text
private boolean
private float
private final Runnable
private @Nullable NarratedMultilineTextWidget
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, 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.protected void
void
render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
renderPanoramaBackground
(DrawContext context, float delta) private void
saveAndRun
(boolean dontShowAgain, Runnable callback) protected void
This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.private void
private void
private int
yMargin()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
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
Lfsp;a:Lxv;
-
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
Lfsp;b:Lxv;
-
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
Lfsp;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 d
Lfsp;d:I
-
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 s
Lfsp;s:Lfow;
-
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 u
Lfsp;u:Lfmj;
-
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 v
Lfsp;v: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 w
Lfsp;w: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 x
Lfsp;x:F
-
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 y
Lfsp;y: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 z
Lfsp;z:Lfop;
-
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
Lfsp;A:Lfrt;
-
-
Constructor Details
-
AccessibilityOnboardingScreen
- 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>
Lfsp;<init>(Lfmj;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.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;c()V
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.- Overrides:
setInitialFocus
in classScreen
- 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 aG_
Lftx;aG_()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 l
Lfsp;l()I
-
close
public void close() -
setScreen
- 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
Lfsp;a(Lftx;)V
-
saveAndRun
- Mappings:
Namespace Name Mixin selector named saveAndRun
Lnet/minecraft/client/gui/screen/AccessibilityOnboardingScreen;saveAndRun(ZLjava/lang/Runnable;)V
intermediary method_53552
Lnet/minecraft/class_8032;method_53552(ZLjava/lang/Runnable;)V
official a
Lfsp;a(ZLjava/lang/Runnable;)V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- 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
Lfpi;a(Lfnr;IIF)V
-
renderPanoramaBackground
- Overrides:
renderPanoramaBackground
in classScreen
- 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
Lftx;a(Lfnr;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 E
Lfsp;E()V
-