Package net.minecraft.client.gui.screen
Class ConfirmLinkScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ConfirmScreen
net.minecraft.client.gui.screen.ConfirmLinkScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ConfirmLinkScreenintermediary net/minecraft/class_407official glh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final intprivate final Stringprivate static final TextFields inherited from class net.minecraft.client.gui.screen.ConfirmScreen
callback, layout, noButton, noText, yesButton, yesTextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionConfirmLinkScreen(BooleanConsumer callback, String link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, URI link, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, URI link, Text noText, boolean linkTrusted) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddButtons(DirectionalLayoutWidget layout) voidprotected static MutableTextgetConfirmText(boolean linkTrusted) protected static MutableTextgetConfirmText(boolean linkTrusted, String link) protected voidstatic voidOpens the confirmation screen to openurl.static voidstatic voidstatic voidstatic ButtonWidget.PressActionReturns the button press action that opens the confirmation screen to openurl.static ButtonWidget.PressActionstatic ButtonWidget.PressActionstatic ButtonWidget.PressActionMethods inherited from class net.minecraft.client.gui.screen.ConfirmScreen
disableButtons, getNarratedTitle, init, keyPressed, refreshWidgetPositions, shouldCloseOnEsc, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, close, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
WARNING
- Mappings:
Namespace Name Mixin selector named WARNINGLnet/minecraft/client/gui/screen/ConfirmLinkScreen;WARNING:Lnet/minecraft/text/Text;intermediary field_2372Lnet/minecraft/class_407;field_2372:Lnet/minecraft/class_2561;official tLglh;t:Lxx;
-
field_61000
private static final int field_61000- See Also:
- Mappings:
Namespace Name Mixin selector named field_61000Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;field_61000:Iintermediary field_61000Lnet/minecraft/class_407;field_61000:Iofficial uLglh;u:I
-
link
- Mappings:
Namespace Name Mixin selector named linkLnet/minecraft/client/gui/screen/ConfirmLinkScreen;link:Ljava/lang/String;intermediary field_2371Lnet/minecraft/class_407;field_2371:Ljava/lang/String;official vLglh;v:Ljava/lang/String;
-
drawWarning
private final boolean drawWarning- Mappings:
Namespace Name Mixin selector named drawWarningLnet/minecraft/client/gui/screen/ConfirmLinkScreen;drawWarning:Zintermediary field_2370Lnet/minecraft/class_407;field_2370:Zofficial wLglh;w:Z
-
-
Constructor Details
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)Vofficial <init>Lglh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)V
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Ljava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/lang/String;Z)Vofficial <init>Lglh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxx;Ljava/lang/String;Z)V
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Ljava/net/URI;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/net/URI;Z)Vofficial <init>Lglh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxx;Ljava/net/URI;Z)V
-
ConfirmLinkScreen
public ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, URI link, Text noText, boolean linkTrusted) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Ljava/net/URI;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/net/URI;Lnet/minecraft/class_2561;Z)Vofficial <init>Lglh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxx;Lxx;Ljava/net/URI;Lxx;Z)V
-
ConfirmLinkScreen
public ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Ljava/lang/String;Lnet/minecraft/text/Text;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Ljava/lang/String;Lnet/minecraft/class_2561;Z)Vofficial <init>Lglh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxx;Lxx;Ljava/lang/String;Lxx;Z)V
-
-
Method Details
-
getConfirmText
- Mappings:
Namespace Name Mixin selector named getConfirmTextLnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(ZLjava/lang/String;)Lnet/minecraft/text/MutableText;intermediary method_44658Lnet/minecraft/class_407;method_44658(ZLjava/lang/String;)Lnet/minecraft/class_5250;official aLglh;a(ZLjava/lang/String;)Lym;
-
getConfirmText
- Mappings:
Namespace Name Mixin selector named getConfirmTextLnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(Z)Lnet/minecraft/text/MutableText;intermediary method_44659Lnet/minecraft/class_407;method_44659(Z)Lnet/minecraft/class_5250;official cLglh;c(Z)Lym;
-
initExtras
protected void initExtras()- Overrides:
initExtrasin classConfirmScreen- Mappings:
Namespace Name Mixin selector named initExtrasLnet/minecraft/client/gui/screen/ConfirmScreen;initExtras()Vintermediary method_72128Lnet/minecraft/class_410;method_72128()Vofficial lLgli;l()V
-
addButtons
- Overrides:
addButtonsin classConfirmScreen- Mappings:
Namespace Name Mixin selector named addButtonsLnet/minecraft/client/gui/screen/ConfirmScreen;addButtons(Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;)Vintermediary method_37051Lnet/minecraft/class_410;method_37051(Lnet/minecraft/class_8667;)Vofficial aLgli;a(Lgjg;)V
-
copyToClipboard
public void copyToClipboard()- Mappings:
Namespace Name Mixin selector named copyToClipboardLnet/minecraft/client/gui/screen/ConfirmLinkScreen;copyToClipboard()Vintermediary method_2100Lnet/minecraft/class_407;method_2100()Vofficial oLglh;o()V
-
open
- Mappings:
Namespace Name Mixin selector named openLnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;Z)Vintermediary method_60866Lnet/minecraft/class_407;method_60866(Lnet/minecraft/class_437;Ljava/lang/String;Z)Vofficial aLglh;a(Lgmj;Ljava/lang/String;Z)V
-
open
- Mappings:
Namespace Name Mixin selector named openLnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;Z)Vintermediary method_61034Lnet/minecraft/class_407;method_61034(Lnet/minecraft/class_437;Ljava/net/URI;Z)Vofficial aLglh;a(Lgmj;Ljava/net/URI;Z)V
-
open
- Mappings:
Namespace Name Mixin selector named openLnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)Vintermediary method_61033Lnet/minecraft/class_407;method_61033(Lnet/minecraft/class_437;Ljava/net/URI;)Vofficial aLglh;a(Lgmj;Ljava/net/URI;)V
-
open
Opens the confirmation screen to openurl. The link is always trusted.- See Also:
- Mappings:
Namespace Name Mixin selector named openLnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;)Vintermediary method_49623Lnet/minecraft/class_407;method_49623(Lnet/minecraft/class_437;Ljava/lang/String;)Vofficial aLglh;a(Lgmj;Ljava/lang/String;)V
-
opening
- Mappings:
Namespace Name Mixin selector named openingLnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;Z)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;intermediary method_60867Lnet/minecraft/class_407;method_60867(Lnet/minecraft/class_437;Ljava/lang/String;Z)Lnet/minecraft/class_4185$class_4241;official bLglh;b(Lgmj;Ljava/lang/String;Z)Lgdp$c;
-
opening
- Mappings:
Namespace Name Mixin selector named openingLnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;Z)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;intermediary method_61038Lnet/minecraft/class_407;method_61038(Lnet/minecraft/class_437;Ljava/net/URI;Z)Lnet/minecraft/class_4185$class_4241;official bLglh;b(Lgmj;Ljava/net/URI;Z)Lgdp$c;
-
opening
Returns the button press action that opens the confirmation screen to openurl.The link is always trusted.
- Returns:
- the button press action that opens the confirmation screen to open
url - See Also:
- Mappings:
Namespace Name Mixin selector named openingLnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;intermediary method_49625Lnet/minecraft/class_407;method_49625(Lnet/minecraft/class_437;Ljava/lang/String;)Lnet/minecraft/class_4185$class_4241;official bLglh;b(Lgmj;Ljava/lang/String;)Lgdp$c;
-
opening
- Mappings:
Namespace Name Mixin selector named openingLnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;intermediary method_61037Lnet/minecraft/class_407;method_61037(Lnet/minecraft/class_437;Ljava/net/URI;)Lnet/minecraft/class_4185$class_4241;official bLglh;b(Lgmj;Ljava/net/URI;)Lgdp$c;
-