Class ConfirmLinkScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

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_343105_, Component p_342168_, URI p_344012_, boolean p_343884_)
    • ConfirmLinkScreen

      public ConfirmLinkScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer p_345329_, Component p_343974_, Component p_345468_, URI p_345270_, Component p_343887_, boolean p_345469_)
    • 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(GuiGraphics p_281548_, int p_281671_, int p_283205_, float p_283628_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class ConfirmScreen
    • confirmLinkNow

      public static void confirmLinkNow(Screen p_344395_, String p_343240_, boolean p_344957_)
    • confirmLinkNow

      public static void confirmLinkNow(Screen p_343966_, URI p_344254_, boolean p_344399_)
    • confirmLinkNow

      public static void confirmLinkNow(Screen p_345435_, URI p_345002_)
    • confirmLinkNow

      public static void confirmLinkNow(Screen p_275593_, String p_275417_)
    • confirmLink

      public static Button.OnPress confirmLink(Screen p_345061_, String p_342121_, boolean p_343139_)
    • confirmLink

      public static Button.OnPress confirmLink(Screen p_344288_, URI p_343501_, boolean p_342754_)
    • confirmLink

      public static Button.OnPress confirmLink(Screen p_275326_, String p_275241_)
    • confirmLink

      public static Button.OnPress confirmLink(Screen p_343167_, URI p_343032_)