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.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Componentprivate final booleanprivate final Stringprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.ConfirmScreen
callback, layout, noButton, noButtonComponent, yesButton, yesButtonComponentFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, 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 pCallback, String pUrl, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, String pUrl, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, URI pUri, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, String pUrl, Component pNoButton, boolean pTrusted) ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, Component pTitle, Component pMessage, URI pUri, Component pNoButton, boolean pTrusted) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddButtons(LinearLayout pLayout) static Button.OnPressconfirmLink(Screen pLastScreen, String pUrl) static Button.OnPressconfirmLink(Screen pLastScreen, String pUrl, boolean pTrusted) static Button.OnPressconfirmLink(Screen pLastScreen, URI pUri) static Button.OnPressconfirmLink(Screen pLastScreen, URI pUri, boolean pTrusted) static voidconfirmLinkNow(Screen pLastScreen, String pUrl) static voidconfirmLinkNow(Screen pLastScreen, String pUrl, boolean pTrusted) static voidconfirmLinkNow(Screen pLastScreen, URI pUri) static voidconfirmLinkNow(Screen pLastScreen, URI pUri, boolean pTrusted) protected static MutableComponentconfirmMessage(boolean pTrusted) protected static MutableComponentconfirmMessage(boolean pTrusted, String pExtraInfo) voidMethods inherited from class net.minecraft.client.gui.screens.ConfirmScreen
getNarrationMessage, init, keyPressed, repositionElements, setDelay, shouldCloseOnEsc, tickMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleClickEvent, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, 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
-
BUTTON_WIDTH
private static final int BUTTON_WIDTH- See Also:
-
url
-
showWarning
private final boolean showWarning
-
-
Constructor Details
-
ConfirmLinkScreen
public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer pCallback, String pUrl, boolean pTrusted) -
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
ConfirmLinkScreen
-
-
Method Details
-
confirmMessage
-
confirmMessage
-
addAdditionalText
protected void addAdditionalText()- Overrides:
addAdditionalTextin classConfirmScreen
-
addButtons
- Overrides:
addButtonsin classConfirmScreen
-
copyToClipboard
public void copyToClipboard() -
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLinkNow
-
confirmLink
-
confirmLink
-
confirmLink
-
confirmLink
-