Class ConfirmLinkScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • COPY

      private static final Text COPY
      Mappings:
      Namespace Name Mixin selector
      official o Lerx;o:Ltj;
      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

      private static final Text WARNING
      Mappings:
      Namespace Name Mixin selector
      official p Lerx;p:Ltj;
      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;
    • drawWarning

      private final boolean drawWarning
      Mappings:
      Namespace Name Mixin selector
      official r Lerx;r:Z
      intermediary field_2370 Lnet/minecraft/class_407;field_2370:Z
      named drawWarning Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;drawWarning:Z
  • Constructor Details

    • ConfirmLinkScreen

      public ConfirmLinkScreen(BooleanConsumer callback, String link, boolean linkTrusted)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerx;<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

      public ConfirmLinkScreen(BooleanConsumer callback, Text title, String link, boolean linkTrusted)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lerx;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ltj;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> Lerx;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ltj;Ljava/lang/String;Ltj;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> Lerx;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ltj;Ltj;Ljava/lang/String;Ltj;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

      protected static MutableText getConfirmText(boolean linkTrusted, String link)
      Mappings:
      Namespace Name Mixin selector
      official a Lerx;a(ZLjava/lang/String;)Ltw;
      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

      protected static MutableText getConfirmText(boolean linkTrusted)
      Mappings:
      Namespace Name Mixin selector
      official c Lerx;c(Z)Ltw;
      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 class ConfirmScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lery;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 j Lerx;j()V
      intermediary method_2100 Lnet/minecraft/class_407;method_2100()V
      named copyToClipboard Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;copyToClipboard()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class ConfirmScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lepa;a(Lehe;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
    • open

      public static void open(String url, Screen parent, boolean linkTrusted)
      Opens the confirmation screen to open url.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lerx;a(Ljava/lang/String;Letd;Z)V
      intermediary method_49623 Lnet/minecraft/class_407;method_49623(Ljava/lang/String;Lnet/minecraft/class_437;Z)V
      named open Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;open(Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;Z)V
    • opening

      public static ButtonWidget.PressAction opening(String url, Screen parent, boolean linkTrusted)
      Returns the button press action that opens the confirmation screen to open url.
      Returns:
      the button press action that opens the confirmation screen to open url
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lerx;b(Ljava/lang/String;Letd;Z)Leoc$c;
      intermediary method_49625 Lnet/minecraft/class_407;method_49625(Ljava/lang/String;Lnet/minecraft/class_437;Z)Lnet/minecraft/class_4185$class_4241;
      named opening Lnet/minecraft/client/gui/screen/ConfirmLinkScreen;opening(Ljava/lang/String;Lnet/minecraft/client/gui/screen/Screen;Z)Lnet/minecraft/client/gui/widget/ButtonWidget$PressAction;