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 callback, String url, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, String url, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, URI uri, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, String url, Component noButton, boolean trusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback, Component title, Component message, URI uri, Component noButton, boolean trusted) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddButtons(int p_169243_) static Button.OnPressconfirmLink(Screen lastScreen, String url) static Button.OnPressconfirmLink(Screen lastScreen, String url, boolean trusted) static Button.OnPressconfirmLink(Screen lastScreen, URI uri) static Button.OnPressconfirmLink(Screen lastScreen, URI uri, boolean trusted) static voidconfirmLinkNow(Screen lastScreen, String url) static voidconfirmLinkNow(Screen lastScreen, String url, boolean trusted) static voidconfirmLinkNow(Screen lastScreen, URI uri) static voidconfirmLinkNow(Screen lastScreen, URI uri, boolean trusted) protected static MutableComponentconfirmMessage(boolean trusted) protected static MutableComponentconfirmMessage(boolean trusted, String extraInfo) voidvoidrender(GuiGraphics p_281548_, int p_281671_, int p_283205_, float p_283628_) Neo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)replicates this method in place of a super call to insert an eventMethods 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, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, 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, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods 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
getBorderForArrowNavigation, 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 callback, String url, boolean trusted) -
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
-
Method Details
-
confirmMessage
-
confirmMessage
-
addButtons
protected void addButtons(int p_169243_) - Overrides:
addButtonsin classConfirmScreen
-
copyToClipboard
public void copyToClipboard() -
render
Description copied from class:ScreenNeo: mixins targeting this method won't fire for container screens asAbstractContainerScreen.render(net.minecraft.client.gui.GuiGraphics, int, int, float)replicates this method in place of a super call to insert an event- Specified by:
renderin interfaceRenderable- Overrides:
renderin classConfirmScreen- Parameters:
p_281548_- the GuiGraphics object used for rendering.p_281671_- the x-coordinate of the mouse cursor.p_283205_- the y-coordinate of the mouse cursor.p_283628_- the partial tick time.
-
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLink
-
confirmLink
-
confirmLink
-
confirmLink
-