Class ConfirmLinkScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class ConfirmLinkScreen extends ConfirmScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/ConfirmLinkScreen
intermediary net/minecraft/class_407
official fsu
  • Field Details

    • COPY

      private static final Text 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 d Lfsu;d:Lxv;
    • WARNING

      private static final Text 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 s Lfsu;s:Lxv;
    • 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 v Lfsu;v:Z
  • Constructor Details

    • ConfirmLinkScreen

      public ConfirmLinkScreen(BooleanConsumer callback, String link, boolean linkTrusted)
      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> Lfsu;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ljava/lang/String;Z)V
    • ConfirmLinkScreen

      public ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, 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;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> Lfsu;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxv;Ljava/lang/String;Z)V
    • ConfirmLinkScreen

      public ConfirmLinkScreen(BooleanConsumer callback, Text title, URI link, 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;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> Lfsu;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxv;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> Lfsu;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxv;Lxv;Ljava/net/URI;Lxv;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> Lfsu;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lxv;Lxv;Ljava/lang/String;Lxv;Z)V
  • Method Details

    • getConfirmText

      protected static MutableText getConfirmText(boolean linkTrusted, String link)
      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 Lfsu;a(ZLjava/lang/String;)Lyj;
    • getConfirmText

      protected static MutableText getConfirmText(boolean linkTrusted)
      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 Lfsu;c(Z)Lyj;
    • addButtons

      protected void addButtons(int y)
      Overrides:
      addButtons in class ConfirmScreen
      Mappings:
      Namespace Name Mixin selector
      named addButtons Lnet/minecraft/client/gui/screen/ConfirmScreen;addButtons(I)V
      intermediary method_37051 Lnet/minecraft/class_410;method_37051(I)V
      official a Lfsv;a(I)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 k Lfsu;k()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class ConfirmScreen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpi;a(Lfnr;IIF)V
    • open

      public static void open(Screen parent, String url, boolean linkTrusted)
      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 Lfsu;a(Lftx;Ljava/lang/String;Z)V
    • open

      public static void open(Screen parent, URI uri, boolean linkTrusted)
      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 Lfsu;a(Lftx;Ljava/net/URI;Z)V
    • open

      public static void open(Screen parent, URI uri)
      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 Lfsu;a(Lftx;Ljava/net/URI;)V
    • open

      public static void open(Screen parent, String url)
      Opens the confirmation screen to open url. 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 Lfsu;a(Lftx;Ljava/lang/String;)V
    • opening

      public static ButtonWidget.PressAction opening(Screen parent, String url, boolean linkTrusted)
      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 Lfsu;b(Lftx;Ljava/lang/String;Z)Lfoe$c;
    • opening

      public static ButtonWidget.PressAction opening(Screen parent, URI uri, boolean linkTrusted)
      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 Lfsu;b(Lftx;Ljava/net/URI;Z)Lfoe$c;
    • opening

      public static ButtonWidget.PressAction opening(Screen parent, String url)
      Returns the button press action that opens the confirmation screen to open url.

      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 Lfsu;b(Lftx;Ljava/lang/String;)Lfoe$c;
    • opening

      public static ButtonWidget.PressAction opening(Screen parent, URI uri)
      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 Lfsu;b(Lftx;Ljava/net/URI;)Lfoe$c;