Class ConfirmLinkScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget

public class ConfirmLinkScreen extends ConfirmScreen
  • Field Details

    • COPY_BUTTON_TEXT

      private static final Component COPY_BUTTON_TEXT
    • WARNING_TEXT

      private static final Component WARNING_TEXT
    • url

      private final String url
    • showWarning

      private final boolean showWarning
  • Constructor Details

    • ConfirmLinkScreen

      public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_95631_, String p_95632_, boolean p_95633_)
  • Method Details

    • addButtons

      protected void addButtons(int p_169243_)
      Overrides:
      addButtons in class ConfirmScreen
    • copyToClipboard

      public void copyToClipboard()
    • render

      public void render(PoseStack p_95635_, int p_95636_, int p_95637_, float p_95638_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class ConfirmScreen