Package net.minecraft.client.gui.screen
Class ConfirmLinkScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
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
,ParentElement
- Mappings:
Namespace Name official ekh
intermediary net/minecraft/class_407
named net/minecraft/client/gui/screen/ConfirmLinkScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private final boolean
private final String
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.ConfirmScreen
callback, noText, yesText
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionConfirmLinkScreen
(BooleanConsumer callback, String link, boolean trusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, String link, boolean linkTrusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, String link, Text noText, boolean linkTrusted) ConfirmLinkScreen
(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addButtons
(int y) void
protected static MutableText
getConfirmText
(boolean linkTrusted) protected static MutableText
getConfirmText
(boolean linkTrusted, String link) void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ConfirmScreen
addButton, disableButtons, getNarratedTitle, init, keyPressed, shouldCloseOnEsc, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
COPY
- Mappings:
Namespace Name Mixin selector official n
Lekh;n:Lrq;
intermediary field_2373
Lnet/minecraft/class_407;field_2373:Lnet/minecraft/class_2561;
named COPY
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;COPY:Lnet/minecraft/text/Text;
-
WARNING
- Mappings:
Namespace Name Mixin selector official o
Lekh;o:Lrq;
intermediary field_2372
Lnet/minecraft/class_407;field_2372:Lnet/minecraft/class_2561;
named WARNING
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;WARNING:Lnet/minecraft/text/Text;
-
link
- Mappings:
Namespace Name Mixin selector official p
Lekh;p:Ljava/lang/String;
intermediary field_2371
Lnet/minecraft/class_407;field_2371:Ljava/lang/String;
named link
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;link:Ljava/lang/String;
-
drawWarning
private final boolean drawWarning- Mappings:
Namespace Name Mixin selector official q
Lekh;q:Z
intermediary field_2370
Lnet/minecraft/class_407;field_2370:Z
named drawWarning
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;drawWarning:Z
-
-
Constructor Details
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lekh;<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
named <init>
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)V
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lekh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lrq;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
named <init>
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Ljava/lang/String;Z)V
-
ConfirmLinkScreen
public ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, Text noText, boolean linkTrusted) - Mappings:
Namespace Name Mixin selector official <init>
Lekh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lrq;Ljava/lang/String;Lrq;Z)V
intermediary <init>
Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/lang/String;Lnet/minecraft/class_2561;Z)V
named <init>
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/text/Text;Ljava/lang/String;Lnet/minecraft/text/Text;Z)V
-
ConfirmLinkScreen
public ConfirmLinkScreen(BooleanConsumer callback, Text title, Text message, String link, Text noText, boolean linkTrusted) - Mappings:
Namespace Name Mixin selector official <init>
Lekh;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lrq;Lrq;Ljava/lang/String;Lrq;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
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
-
-
Method Details
-
getConfirmText
- Mappings:
Namespace Name Mixin selector official a
Lekh;a(ZLjava/lang/String;)Lsb;
intermediary method_44658
Lnet/minecraft/class_407;method_44658(ZLjava/lang/String;)Lnet/minecraft/class_5250;
named getConfirmText
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(ZLjava/lang/String;)Lnet/minecraft/text/MutableText;
-
getConfirmText
- Mappings:
Namespace Name Mixin selector official c
Lekh;c(Z)Lsb;
intermediary method_44659
Lnet/minecraft/class_407;method_44659(Z)Lnet/minecraft/class_5250;
named getConfirmText
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(Z)Lnet/minecraft/text/MutableText;
-
addButtons
protected void addButtons(int y) - Overrides:
addButtons
in classConfirmScreen
- Mappings:
Namespace Name Mixin selector official a
Leki;a(I)V
intermediary method_37051
Lnet/minecraft/class_410;method_37051(I)V
named addButtons
Lnet/minecraft/client/gui/screen/ConfirmScreen;addButtons(I)V
-
copyToClipboard
public void copyToClipboard()- Mappings:
Namespace Name Mixin selector official g
Lekh;g()V
intermediary method_2100
Lnet/minecraft/class_407;method_2100()V
named copyToClipboard
Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;copyToClipboard()V
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classConfirmScreen
- Mappings:
Namespace Name Mixin selector official a
Leio;a(Leaq;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-