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/ConfirmLinkScreen
intermediary net/minecraft/class_407
official gdp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Text
private final boolean
private static final int
private final String
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.ConfirmScreen
callback, layout, noButton, noText, yesButton, yesText
Fields 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
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
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 void
addButtons
(DirectionalLayoutWidget layout) void
protected static MutableText
getConfirmText
(boolean linkTrusted) protected static MutableText
getConfirmText
(boolean linkTrusted, String link) protected void
static void
Opens the confirmation screen to openurl
.static void
static void
static void
static ButtonWidget.PressAction
Returns the button press action that opens the confirmation screen to openurl
.static ButtonWidget.PressAction
static ButtonWidget.PressAction
static ButtonWidget.PressAction
Methods inherited from class net.minecraft.client.gui.screen.ConfirmScreen
disableButtons, getNarratedTitle, init, keyPressed, refreshWidgetPositions, shouldCloseOnEsc, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, close, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldPause, showsStatusEffects, switchFocus, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
getBorder, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
COPY
- Mappings:
Namespace Name Mixin selector named COPY
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;COPY:Lnet/minecraft/text/Text;
intermediary field_2373
Lnet/minecraft/class_407;field_2373:Lnet/minecraft/class_2561;
official u
Lgdp;u:Lxo;
-
WARNING
- Mappings:
Namespace Name Mixin selector named WARNING
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;WARNING:Lnet/minecraft/text/Text;
intermediary field_2372
Lnet/minecraft/class_407;field_2372:Lnet/minecraft/class_2561;
official v
Lgdp;v:Lxo;
-
field_61000
private static final int field_61000- See Also:
- Mappings:
Namespace Name Mixin selector named field_61000
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;field_61000:I
intermediary field_61000
Lnet/minecraft/class_407;field_61000:I
official w
Lgdp;w:I
-
link
- Mappings:
Namespace Name Mixin selector named link
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;link:Ljava/lang/String;
intermediary field_2371
Lnet/minecraft/class_407;field_2371:Ljava/lang/String;
official x
Lgdp;x:Ljava/lang/String;
-
drawWarning
private final boolean drawWarning- Mappings:
Namespace Name Mixin selector named drawWarning
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;drawWarning:Z
intermediary field_2370
Lnet/minecraft/class_407;field_2370:Z
official y
Lgdp;y: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)V
intermediary <init>
Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)V
official <init>
Lgdp;<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)V
intermediary <init>
Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/lang/String;Z)V
official <init>
Lgdp;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxo;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)V
intermediary <init>
Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/net/URI;Z)V
official <init>
Lgdp;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxo;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)V
intermediary <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)V
official <init>
Lgdp;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxo;Lxo;Ljava/net/URI;Lxo;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)V
intermediary <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)V
official <init>
Lgdp;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxo;Lxo;Ljava/lang/String;Lxo;Z)V
-
-
Method Details
-
getConfirmText
- Mappings:
Namespace Name Mixin selector named getConfirmText
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(ZLjava/lang/String;)Lnet/minecraft/text/MutableText;
intermediary method_44658
Lnet/minecraft/class_407;method_44658(ZLjava/lang/String;)Lnet/minecraft/class_5250;
official a
Lgdp;a(ZLjava/lang/String;)Lyc;
-
getConfirmText
- Mappings:
Namespace Name Mixin selector named getConfirmText
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(Z)Lnet/minecraft/text/MutableText;
intermediary method_44659
Lnet/minecraft/class_407;method_44659(Z)Lnet/minecraft/class_5250;
official c
Lgdp;c(Z)Lyc;
-
initExtras
protected void initExtras()- Overrides:
initExtras
in classConfirmScreen
- Mappings:
Namespace Name Mixin selector named initExtras
Lnet/minecraft/client/gui/screen/ConfirmScreen;initExtras()V
intermediary method_72128
Lnet/minecraft/class_410;method_72128()V
official k
Lgdq;k()V
-
addButtons
- Overrides:
addButtons
in classConfirmScreen
- Mappings:
Namespace Name Mixin selector named addButtons
Lnet/minecraft/client/gui/screen/ConfirmScreen;addButtons(Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;)V
intermediary method_37051
Lnet/minecraft/class_410;method_37051(Lnet/minecraft/class_8667;)V
official a
Lgdq;a(Lgbn;)V
-
copyToClipboard
public void copyToClipboard()- Mappings:
Namespace Name Mixin selector named copyToClipboard
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;copyToClipboard()V
intermediary method_2100
Lnet/minecraft/class_407;method_2100()V
official l
Lgdp;l()V
-
open
- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;Z)V
intermediary method_60866
Lnet/minecraft/class_407;method_60866(Lnet/minecraft/class_437;Ljava/lang/String;Z)V
official a
Lgdp;a(Lges;Ljava/lang/String;Z)V
-
open
- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;Z)V
intermediary method_61034
Lnet/minecraft/class_407;method_61034(Lnet/minecraft/class_437;Ljava/net/URI;Z)V
official a
Lgdp;a(Lges;Ljava/net/URI;Z)V
-
open
- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)V
intermediary method_61033
Lnet/minecraft/class_407;method_61033(Lnet/minecraft/class_437;Ljava/net/URI;)V
official a
Lgdp;a(Lges;Ljava/net/URI;)V
-
open
Opens the confirmation screen to openurl
. The link is always trusted.- See Also:
- Mappings:
Namespace Name Mixin selector named open
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;)V
intermediary method_49623
Lnet/minecraft/class_407;method_49623(Lnet/minecraft/class_437;Ljava/lang/String;)V
official a
Lgdp;a(Lges;Ljava/lang/String;)V
-
opening
- Mappings:
Namespace Name Mixin selector named opening
Lnet/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_60867
Lnet/minecraft/class_407;method_60867(Lnet/minecraft/class_437;Ljava/lang/String;Z)Lnet/minecraft/class_4185$class_4241;
official b
Lgdp;b(Lges;Ljava/lang/String;Z)Lfxn$c;
-
opening
- Mappings:
Namespace Name Mixin selector named opening
Lnet/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_61038
Lnet/minecraft/class_407;method_61038(Lnet/minecraft/class_437;Ljava/net/URI;Z)Lnet/minecraft/class_4185$class_4241;
official b
Lgdp;b(Lges;Ljava/net/URI;Z)Lfxn$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 opening
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/lang/String;)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
intermediary method_49625
Lnet/minecraft/class_407;method_49625(Lnet/minecraft/class_437;Ljava/lang/String;)Lnet/minecraft/class_4185$class_4241;
official b
Lgdp;b(Lges;Ljava/lang/String;)Lfxn$c;
-
opening
- Mappings:
Namespace Name Mixin selector named opening
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Lnet/minecraft/client/gui/screen/Screen;Ljava/net/URI;)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
intermediary method_61037
Lnet/minecraft/class_407;method_61037(Lnet/minecraft/class_437;Ljava/net/URI;)Lnet/minecraft/class_4185$class_4241;
official b
Lgdp;b(Lges;Ljava/net/URI;)Lfxn$c;
-