Class ConfirmLinkScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable

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_)
    • ConfirmLinkScreen

      public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_238329_, Component p_238330_, String p_238331_, boolean p_238332_)
    • ConfirmLinkScreen

      public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_239991_, Component p_239992_, String p_239993_, Component p_239994_, boolean p_239995_)
    • ConfirmLinkScreen

      public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_240191_, Component p_240192_, Component p_240193_, String p_240194_, Component p_240195_, boolean p_240196_)
  • Method Details

    • confirmMessage

      protected static MutableComponent confirmMessage(boolean p_239180_, String p_239181_)
    • confirmMessage

      protected static MutableComponent confirmMessage(boolean p_240014_)
    • 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 Renderable
      Overrides:
      render in class ConfirmScreen