Package net.minecraft.client.gui.screens
Class NoticeWithLinkScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.NoticeWithLinkScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Screen
private final GridLayout
private final Component
private static final Component
private static final Component
private static final Component
private static final Component
private final String
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionNoticeWithLinkScreen
(Component p_294500_, Component p_296071_, String p_294439_, Screen p_294155_) -
Method Summary
Modifier and TypeMethodDescriptionstatic Screen
createPackSymlinkWarningScreen
(Screen p_294229_) static Screen
createWorldSymlinkWarningScreen
(Screen p_295935_) protected void
init()
void
onClose()
protected void
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
SYMLINK_WORLD_TITLE
-
SYMLINK_WORLD_MESSAGE_TEXT
-
SYMLINK_PACK_TITLE
-
SYMLINK_PACK_MESSAGE_TEXT
-
message
-
url
-
callbackScreen
-
layout
-
-
Constructor Details
-
NoticeWithLinkScreen
-
-
Method Details
-
createWorldSymlinkWarningScreen
-
createPackSymlinkWarningScreen
-
init
protected void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElements
in classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessage
in classScreen
-
onClose
public void onClose()
-