Class LytFlowLink

All Implemented Interfaces:
LytFlowParent, InteractiveElement, LytErrorSink, guideme.internal.siteexport.ExportableResourceProvider, Styleable

public class LytFlowLink extends LytTooltipSpan
  • Constructor Details

    • LytFlowLink

      public LytFlowLink()
  • Method Details

    • setClickCallback

      public void setClickCallback(@Nullable @Nullable Consumer<GuideScreen> clickCallback)
    • mouseClicked

      public boolean mouseClicked(GuideScreen screen, int x, int y, int button)
    • getClickSound

      @Nullable public @Nullable net.minecraft.sounds.SoundEvent getClickSound()
    • setClickSound

      public void setClickSound(@Nullable @Nullable net.minecraft.sounds.SoundEvent clickSound)
    • setExternalUrl

      public void setExternalUrl(URI uri)
      Configures this link to open the given external URL on click.
    • setPageLink

      public void setPageLink(PageAnchor anchor)
      Configures this link to open the given page on click.