Package net.minecraft.client.gui.screens
Class TitleScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.TitleScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ResourceLocation
static String
private int
private int
static CubeMap
private static String
private long
private boolean
private static org.apache.logging.log4j.Logger
private boolean
private static ResourceLocation
private static ResourceLocation
private NotificationModUpdateScreen
private PanoramaRenderer
private static ResourceLocation
private Screen
private Button
private String
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
private void
confirmDemo(boolean p_96778_)
private void
createDemoMenuOptions(int p_96773_, int p_96774_)
private void
createNormalMenuOptions(int p_96764_, int p_96765_)
protected void
init()
boolean
boolean
mouseClicked(double p_96735_, double p_96736_, int p_96737_)
static CompletableFuture<Void>
preloadResources(TextureManager p_96755_, Executor p_96756_)
private void
private boolean
void
removed()
void
boolean
void
tick()
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentToolTip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderToolTip, resize, sendMessage, sendMessage, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
DEMO_LEVEL_ID
- See Also:
- Constant Field Values
-
COPYRIGHT_TEXT
- See Also:
- Constant Field Values
-
CUBE_MAP
-
PANORAMA_OVERLAY
-
ACCESSIBILITY_TEXTURE
-
minceraftEasterEgg
private final boolean minceraftEasterEgg -
splash
-
resetDemoButton
-
MINECRAFT_LOGO
-
MINECRAFT_EDITION
-
realmsNotificationsScreen
-
copyrightWidth
private int copyrightWidth -
copyrightX
private int copyrightX -
panorama
-
fading
private final boolean fading -
fadeInStart
private long fadeInStart -
modUpdateNotification
-
-
Constructor Details
-
TitleScreen
public TitleScreen() -
TitleScreen
public TitleScreen(boolean p_96733_)
-
-
Method Details
-
realmsNotificationsEnabled
private boolean realmsNotificationsEnabled() -
tick
public void tick() -
preloadResources
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()- Overrides:
shouldCloseOnEsc
in classScreen
-
init
protected void init() -
createNormalMenuOptions
private void createNormalMenuOptions(int p_96764_, int p_96765_) -
createDemoMenuOptions
private void createDemoMenuOptions(int p_96773_, int p_96774_) -
checkDemoWorldPresence
private boolean checkDemoWorldPresence() -
realmsButtonClicked
private void realmsButtonClicked() -
render
-
mouseClicked
public boolean mouseClicked(double p_96735_, double p_96736_, int p_96737_) -
removed
public void removed() -
confirmDemo
private void confirmDemo(boolean p_96778_)
-