net.minecraft.client.gui.screen

public class TitleScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.TitleScreen
net.minecraft.client.gui.screens.TitleScreen
net.minecraft.class_442
net.minecraft.client.gui.screen.TitleScreen

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
LOGGER
field_23775
LOGGER
private static final Text
TITLE
TITLE
field_47850
NARRATOR_SCREEN_TITLE
private static final Text
COPYRIGHT_TEXT
COPYRIGHT_TEXT
field_32271
COPYRIGHT
private static final String
DEMO_LEVEL_ID
DEMO_LEVEL_ID
field_32272
DEMO_WORLD_NAME
private SplashTextRenderer
splash
splash
field_2586
splashText
private RealmsNotificationsScreen
realmsNotificationsScreen
realmsNotificationsScreen
field_2592
realmsNotificationGui
private FriendsListButtonWidget
friends
friends
field_1_6414
friendsListButton
private boolean
fading
fading
field_18222
doBackgroundFade
private long
fadeInStart
fadeInStart
field_17772
backgroundFadeStart
private final LogoDrawer
logoRenderer
logoRenderer
field_41847
logoDrawer

Constructor summary

ModifierConstructor
public ()
public (boolean doBackgroundFade)
public (boolean doBackgroundFade, LogoDrawer logoDrawer)

Method summary

Modifier and TypeMethod
private boolean
realmsNotificationsEnabled()
realmsNotificationsEnabled()
method_2253()
isRealmsNotificationsGuiDisplayed()
public void
tick()
tick()
method_25393()
tick()
public static void
registerTextures(TextureManager textureManager)
registerTextures(TextureManager textureManager)
method_65810(class_1060 arg0)
registerTextures(TextureManager textureManager)
public boolean
isPauseScreen()
isPauseScreen()
method_25421()
shouldPause()
public boolean
shouldCloseOnEsc()
shouldCloseOnEsc()
method_25422()
shouldCloseOnEsc()
protected void
init()
init()
method_25426()
init()
private int
getHorizontalPosition(int currentButton, int numberOfButtons, int buttonWidth)
getHorizontalPosition(int currentButton, int numberOfButtons, int buttonWidth)
method_1_5521(int arg0, int arg1, int arg2)
getIconButtonX(int index, int count, int size)
private int
createNormalMenuOptions(int topPos, int spacing)
createNormalMenuOptions(int topPos, int spacing)
method_2249(int arg0, int arg1)
addNormalWidgets(int y, int spacingY)
private Text
getMultiplayerDisabledReason()
getMultiplayerDisabledReason()
method_44692()
getMultiplayerDisabledText()
private int
createDemoMenuOptions(int topPos, int spacing)
createDemoMenuOptions(int topPos, int spacing)
method_2251(int arg0, int arg1)
addDemoWidgets(int y, int spacingY)
private boolean
checkDemoWorldPresence()
checkDemoWorldPresence()
method_31129()
canReadDemoWorldData()
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractBackground(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25420(class_332 arg0, int arg1, int arg2, float arg3)
renderBackground(DrawContext arg0, int arg1, int arg2, float arg3)
public boolean
mouseClicked(MouseButtonEvent event, boolean doubleClick)
mouseClicked(MouseButtonEvent event, boolean doubleClick)
method_25402(class_11909 arg0, boolean arg1)
mouseClicked(Click arg0, boolean arg1)
public void
removed()
removed()
method_25432()
removed()
public void
added()
added()
method_49589()
onDisplayed()
private void
confirmDemo(boolean result)
confirmDemo(boolean result)
method_20375(boolean arg0)
onDemoDeletionConfirmed(boolean delete)
public boolean
canInterruptWithAnotherScreen()
canInterruptWithAnotherScreen()
method_73339()
canBeInterruptedByOtherScreen()