Package net.minecraft.client.gui.screens
Class ConfirmLinkScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.ConfirmScreen
net.minecraft.client.gui.screens.ConfirmLinkScreen
- 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
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate final booleanprivate final Stringprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ConfirmScreen
callback, noButton, yesButtonFields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95631_, String p_95632_, boolean p_95633_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_238329_, Component p_238330_, String p_238331_, boolean p_238332_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_343105_, Component p_342168_, URI p_344012_, boolean p_343884_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_240191_, Component p_240192_, Component p_240193_, String p_240194_, Component p_240195_, boolean p_240196_) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_345329_, Component p_343974_, Component p_345468_, URI p_345270_, Component p_343887_, boolean p_345469_) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddButtons(int p_169243_) static Button.OnPressconfirmLink(Screen p_275326_, String p_275241_) static Button.OnPressconfirmLink(Screen p_345061_, String p_342121_, boolean p_343139_) static Button.OnPressconfirmLink(Screen p_343167_, URI p_343032_) static Button.OnPressconfirmLink(Screen p_344288_, URI p_343501_, boolean p_342754_) static voidconfirmLinkNow(Screen p_275593_, String p_275417_) static voidconfirmLinkNow(Screen p_344395_, String p_343240_, boolean p_344957_) static voidconfirmLinkNow(Screen p_345435_, URI p_345002_) static voidconfirmLinkNow(Screen p_343966_, URI p_344254_, boolean p_344399_) protected static MutableComponentconfirmMessage(boolean p_240014_) protected static MutableComponentconfirmMessage(boolean p_239180_, String p_239181_) voidvoidrender(GuiGraphics p_281548_, int p_281671_, int p_283205_, float p_283628_) Methods inherited from class net.minecraft.client.gui.screens.ConfirmScreen
addExitButton, getNarrationMessage, init, keyPressed, setDelay, shouldCloseOnEsc, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldNarrateNavigation, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
COPY_BUTTON_TEXT
-
WARNING_TEXT
-
url
-
showWarning
private final boolean showWarning
-
-
Constructor Details
-
ConfirmLinkScreen
public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95631_, String p_95632_, boolean p_95633_) -
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
-
Method Details
-
confirmMessage
-
confirmMessage
-
addButtons
protected void addButtons(int p_169243_) - Overrides:
addButtonsin classConfirmScreen
-
copyToClipboard
public void copyToClipboard() -
render
- Specified by:
renderin interfaceRenderable- Overrides:
renderin classConfirmScreen
-
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLink
-
confirmLink
-
confirmLink
-
confirmLink
-