Package net.minecraft.client.gui.screen
Class TitleScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.TitleScreen
- All Implemented Interfaces:
- Drawable,- Element,- Navigable,- ParentElement
- Mappings:
- Namespace - Name - official - euw- intermediary - net/minecraft/class_442- named - net/minecraft/client/gui/screen/TitleScreen
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate longprivate final RotatingCubeMapRendererprivate ButtonWidgetstatic final Textprivate static final Stringprivate final booleanprivate static final Loggerprivate final LogoDrawerstatic final CubeMapRendererprivate static final Identifierprivate @Nullable RealmsNotificationsScreenprivate @Nullable SplashTextRendererFields inherited from class net.minecraft.client.gui.screen.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionTitleScreen(boolean doBackgroundFade) TitleScreen(boolean doBackgroundFade, @Nullable LogoDrawer logoDrawer) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate booleanprotected voidinit()Called when a screen should be initialized.private voidinitWidgetsDemo(int y, int spacingY) private voidinitWidgetsNormal(int y, int spacingY) private booleanstatic CompletableFuture<Void>loadTexturesAsync(TextureManager textureManager, Executor executor) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.private voidonDemoDeletionConfirmed(boolean delete) voidCalled when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeScreen.init()orScreen.initTabNavigation()is called.voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) booleanChecks whether this screen should be closed when the escape key is pressed.booleanprivate voidvoidtick()Methods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - c- Leuw;c:Lorg/slf4j/Logger;- intermediary - field_23775- Lnet/minecraft/class_442;field_23775:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/client/gui/screen/TitleScreen;LOGGER:Lorg/slf4j/Logger;
 
- 
DEMO_WORLD_NAME- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - k- Leuw;k:Ljava/lang/String;- intermediary - field_32272- Lnet/minecraft/class_442;field_32272:Ljava/lang/String;- named - DEMO_WORLD_NAME- Lnet/minecraft/client/gui/screen/TitleScreen;DEMO_WORLD_NAME:Ljava/lang/String;
 
- 
COPYRIGHT- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuw;a:Lsw;- intermediary - field_32271- Lnet/minecraft/class_442;field_32271:Lnet/minecraft/class_2561;- named - COPYRIGHT- Lnet/minecraft/client/gui/screen/TitleScreen;COPYRIGHT:Lnet/minecraft/text/Text;
 
- 
PANORAMA_CUBE_MAP- Mappings:
- Namespace - Name - Mixin selector - official - b- Leuw;b:Lfjl;- intermediary - field_17774- Lnet/minecraft/class_442;field_17774:Lnet/minecraft/class_751;- named - PANORAMA_CUBE_MAP- Lnet/minecraft/client/gui/screen/TitleScreen;PANORAMA_CUBE_MAP:Lnet/minecraft/client/gui/CubeMapRenderer;
 
- 
PANORAMA_OVERLAY- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuw;l:Lacq;- intermediary - field_17775- Lnet/minecraft/class_442;field_17775:Lnet/minecraft/class_2960;- named - PANORAMA_OVERLAY- Lnet/minecraft/client/gui/screen/TitleScreen;PANORAMA_OVERLAY:Lnet/minecraft/util/Identifier;
 
- 
splashText- Mappings:
- Namespace - Name - Mixin selector - official - m- Leuw;m:Leqi;- intermediary - field_2586- Lnet/minecraft/class_442;field_2586:Lnet/minecraft/class_8519;- named - splashText- Lnet/minecraft/client/gui/screen/TitleScreen;splashText:Lnet/minecraft/client/gui/screen/SplashTextRenderer;
 
- 
buttonResetDemo- Mappings:
- Namespace - Name - Mixin selector - official - n- Leuw;n:Lepi;- intermediary - field_2590- Lnet/minecraft/class_442;field_2590:Lnet/minecraft/class_4185;- named - buttonResetDemo- Lnet/minecraft/client/gui/screen/TitleScreen;buttonResetDemo:Lnet/minecraft/client/gui/widget/ButtonWidget;
 
- 
realmsNotificationGui- Mappings:
- Namespace - Name - Mixin selector - official - o- Leuw;o:Leli;- intermediary - field_2592- Lnet/minecraft/class_442;field_2592:Lnet/minecraft/class_4399;- named - realmsNotificationGui- Lnet/minecraft/client/gui/screen/TitleScreen;realmsNotificationGui:Lnet/minecraft/client/realms/gui/screen/RealmsNotificationsScreen;
 
- 
backgroundRenderer- Mappings:
- Namespace - Name - Mixin selector - official - p- Leuw;p:Lfjz;- intermediary - field_2585- Lnet/minecraft/class_442;field_2585:Lnet/minecraft/class_766;- named - backgroundRenderer- Lnet/minecraft/client/gui/screen/TitleScreen;backgroundRenderer:Lnet/minecraft/client/gui/RotatingCubeMapRenderer;
 
- 
doBackgroundFadeprivate final boolean doBackgroundFade- Mappings:
- Namespace - Name - Mixin selector - official - q- Leuw;q:Z- intermediary - field_18222- Lnet/minecraft/class_442;field_18222:Z- named - doBackgroundFade- Lnet/minecraft/client/gui/screen/TitleScreen;doBackgroundFade:Z
 
- 
backgroundFadeStartprivate long backgroundFadeStart- Mappings:
- Namespace - Name - Mixin selector - official - r- Leuw;r:J- intermediary - field_17772- Lnet/minecraft/class_442;field_17772:J- named - backgroundFadeStart- Lnet/minecraft/client/gui/screen/TitleScreen;backgroundFadeStart:J
 
- 
deprecationNotice- Mappings:
- Namespace - Name - Mixin selector - official - s- Leuw;s:Leuw$a;- intermediary - field_37209- Lnet/minecraft/class_442;field_37209:Lnet/minecraft/class_442$class_7063;- named - deprecationNotice- Lnet/minecraft/client/gui/screen/TitleScreen;deprecationNotice:Lnet/minecraft/client/gui/screen/TitleScreen$DeprecationNotice;
 
- 
logoDrawer- Mappings:
- Namespace - Name - Mixin selector - official - t- Leuw;t:Lepx;- intermediary - field_41847- Lnet/minecraft/class_442;field_41847:Lnet/minecraft/class_8020;- named - logoDrawer- Lnet/minecraft/client/gui/screen/TitleScreen;logoDrawer:Lnet/minecraft/client/gui/LogoDrawer;
 
 
- 
- 
Constructor Details- 
TitleScreenpublic TitleScreen()
- 
TitleScreenpublic TitleScreen(boolean doBackgroundFade) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leuw;<init>(Z)V- intermediary - <init>- Lnet/minecraft/class_442;<init>(Z)V- named - <init>- Lnet/minecraft/client/gui/screen/TitleScreen;<init>(Z)V
 
- 
TitleScreen- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leuw;<init>(ZLepx;)V- intermediary - <init>- Lnet/minecraft/class_442;<init>(ZLnet/minecraft/class_8020;)V- named - <init>- Lnet/minecraft/client/gui/screen/TitleScreen;<init>(ZLnet/minecraft/client/gui/LogoDrawer;)V
 
 
- 
- 
Method Details- 
isRealmsNotificationsGuiDisplayedprivate boolean isRealmsNotificationsGuiDisplayed()- Mappings:
- Namespace - Name - Mixin selector - official - l- Leuw;l()Z- intermediary - method_2253- Lnet/minecraft/class_442;method_2253()Z- named - isRealmsNotificationsGuiDisplayed- Lnet/minecraft/client/gui/screen/TitleScreen;isRealmsNotificationsGuiDisplayed()Z
 
- 
tickpublic void tick()
- 
loadTexturesAsyncpublic static CompletableFuture<Void> loadTexturesAsync(TextureManager textureManager, Executor executor) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leuw;a(Lfuw;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;- intermediary - method_18105- Lnet/minecraft/class_442;method_18105(Lnet/minecraft/class_1060;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;- named - loadTexturesAsync- Lnet/minecraft/client/gui/screen/TitleScreen;loadTexturesAsync(Lnet/minecraft/client/texture/TextureManager;Ljava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
 
- 
shouldPausepublic boolean shouldPause()- Overrides:
- shouldPausein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - az_- Leuq;az_()Z- intermediary - method_25421- Lnet/minecraft/class_437;method_25421()Z- named - shouldPause- Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
 
- 
shouldCloseOnEscpublic boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
- shouldCloseOnEscin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - av_- Leuq;av_()Z- intermediary - method_25422- Lnet/minecraft/class_437;method_25422()Z- named - shouldCloseOnEsc- Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
 
- 
initprotected 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.
- 
initWidgetsNormalprivate void initWidgetsNormal(int y, int spacingY) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leuw;a(II)V- intermediary - method_2249- Lnet/minecraft/class_442;method_2249(II)V- named - initWidgetsNormal- Lnet/minecraft/client/gui/screen/TitleScreen;initWidgetsNormal(II)V
 
- 
getMultiplayerDisabledText- Mappings:
- Namespace - Name - Mixin selector - official - B- Leuw;B()Lsw;- intermediary - method_44692- Lnet/minecraft/class_442;method_44692()Lnet/minecraft/class_2561;- named - getMultiplayerDisabledText- Lnet/minecraft/client/gui/screen/TitleScreen;getMultiplayerDisabledText()Lnet/minecraft/text/Text;
 
- 
initWidgetsDemoprivate void initWidgetsDemo(int y, int spacingY) - Mappings:
- Namespace - Name - Mixin selector - official - b- Leuw;b(II)V- intermediary - method_2251- Lnet/minecraft/class_442;method_2251(II)V- named - initWidgetsDemo- Lnet/minecraft/client/gui/screen/TitleScreen;initWidgetsDemo(II)V
 
- 
canReadDemoWorldDataprivate boolean canReadDemoWorldData()- Mappings:
- Namespace - Name - Mixin selector - official - C- Leuw;C()Z- intermediary - method_31129- Lnet/minecraft/class_442;method_31129()Z- named - canReadDemoWorldData- Lnet/minecraft/client/gui/screen/TitleScreen;canReadDemoWorldData()Z
 
- 
switchToRealmsprivate void switchToRealms()- Mappings:
- Namespace - Name - Mixin selector - official - D- Leuw;D()V- intermediary - method_2252- Lnet/minecraft/class_442;method_2252()V- named - switchToRealms- Lnet/minecraft/client/gui/screen/TitleScreen;switchToRealms()V
 
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;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
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqt;a(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
 
- 
removedpublic void removed()
- 
onDisplayedpublic void onDisplayed()Called when the screen is displayed usingMinecraftClient.setScreen(net.minecraft.client.gui.screen.Screen)beforeScreen.init()orScreen.initTabNavigation()is called.- Overrides:
- onDisplayedin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - ay_- Leuq;ay_()V- intermediary - method_49589- Lnet/minecraft/class_437;method_49589()V- named - onDisplayed- Lnet/minecraft/client/gui/screen/Screen;onDisplayed()V
 
- 
onDemoDeletionConfirmedprivate void onDemoDeletionConfirmed(boolean delete) - Mappings:
- Namespace - Name - Mixin selector - official - c- Leuw;c(Z)V- intermediary - method_20375- Lnet/minecraft/class_442;method_20375(Z)V- named - onDemoDeletionConfirmed- Lnet/minecraft/client/gui/screen/TitleScreen;onDemoDeletionConfirmed(Z)V
 
 
-