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,Navigable,ParentElement
- Mappings:
Namespace Name official ervintermediary net/minecraft/class_407named 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
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate final booleanprivate final Stringprivate static final TextFields inherited from class net.minecraft.client.gui.screen.ConfirmScreen
callback, noText, yesTextFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
field_43045, GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionConfirmLinkScreen(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 voidaddButtons(int y) voidprotected static MutableTextgetConfirmText(boolean linkTrusted) protected static MutableTextgetConfirmText(boolean linkTrusted, String link) static voidmethod_49623(String string, Screen screen, boolean bool) static ButtonWidget.PressActionmethod_49625(String string, Screen screen, boolean bool) voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.screen.ConfirmScreen
addButton, disableButtons, getNarratedTitle, init, keyPressed, shouldCloseOnEsc, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_49589, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, method_49601Methods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
COPY
- Mappings:
Namespace Name Mixin selector official oLerv;o:Lti;intermediary field_2373Lnet/minecraft/class_407;field_2373:Lnet/minecraft/class_2561;named COPYLnet/minecraft/client/gui/screen/ConfirmLinkScreen;COPY:Lnet/minecraft/text/Text;
-
WARNING
- Mappings:
Namespace Name Mixin selector official pLerv;p:Lti;intermediary field_2372Lnet/minecraft/class_407;field_2372:Lnet/minecraft/class_2561;named WARNINGLnet/minecraft/client/gui/screen/ConfirmLinkScreen;WARNING:Lnet/minecraft/text/Text;
-
link
- Mappings:
Namespace Name Mixin selector official qLerv;q:Ljava/lang/String;intermediary field_2371Lnet/minecraft/class_407;field_2371:Ljava/lang/String;named linkLnet/minecraft/client/gui/screen/ConfirmLinkScreen;link:Ljava/lang/String;
-
drawWarning
private final boolean drawWarning- Mappings:
Namespace Name Mixin selector official rLerv;r:Zintermediary field_2370Lnet/minecraft/class_407;field_2370:Znamed drawWarningLnet/minecraft/client/gui/screen/ConfirmLinkScreen;drawWarning:Z
-
-
Constructor Details
-
ConfirmLinkScreen
- Mappings:
Namespace Name Mixin selector official <init>Lerv;<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)Vnamed <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>Lerv;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lti;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)Vnamed <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>Lerv;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lti;Ljava/lang/String;Lti;Z)Vintermediary <init>Lnet/minecraft/class_407;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_2561;Ljava/lang/String;Lnet/minecraft/class_2561;Z)Vnamed <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>Lerv;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lti;Lti;Ljava/lang/String;Lti;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)Vnamed <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 aLerv;a(ZLjava/lang/String;)Ltv;intermediary method_44658Lnet/minecraft/class_407;method_44658(ZLjava/lang/String;)Lnet/minecraft/class_5250;named getConfirmTextLnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(ZLjava/lang/String;)Lnet/minecraft/text/MutableText;
-
getConfirmText
- Mappings:
Namespace Name Mixin selector official cLerv;c(Z)Ltv;intermediary method_44659Lnet/minecraft/class_407;method_44659(Z)Lnet/minecraft/class_5250;named getConfirmTextLnet/minecraft/client/gui/screen/ConfirmLinkScreen;getConfirmText(Z)Lnet/minecraft/text/MutableText;
-
addButtons
protected void addButtons(int y) - Overrides:
addButtonsin classConfirmScreen- Mappings:
Namespace Name Mixin selector official aLerw;a(I)Vintermediary method_37051Lnet/minecraft/class_410;method_37051(I)Vnamed addButtonsLnet/minecraft/client/gui/screen/ConfirmScreen;addButtons(I)V
-
copyToClipboard
public void copyToClipboard()- Mappings:
Namespace Name Mixin selector official jLerv;j()Vintermediary method_2100Lnet/minecraft/class_407;method_2100()Vnamed copyToClipboardLnet/minecraft/client/gui/screen/ConfirmLinkScreen;copyToClipboard()V
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classConfirmScreen- Mappings:
Namespace Name Mixin selector official aLeoy;a(Lehc;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
method_49623
- Mappings:
Namespace Name Mixin selector official aLerv;a(Ljava/lang/String;Leta;Z)Vintermediary method_49623Lnet/minecraft/class_407;method_49623(Ljava/lang/String;Lnet/minecraft/class_437;Z)Vnamed method_49623Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;method_49623(Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;Z)V
-
method_49625
- Mappings:
Namespace Name Mixin selector official bLerv;b(Ljava/lang/String;Leta;Z)Leoa$c;intermediary method_49625Lnet/minecraft/class_407;method_49625(Ljava/lang/String;Lnet/minecraft/class_437;Z)Lnet/minecraft/class_4185$class_4241;named method_49625Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;method_49625(Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;Z)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;
-