Class MVLinkChecker

java.lang.Object
org.mvplugins.multiverse.netherportals.utils.MVLinkChecker

@Service public class MVLinkChecker extends Object
  • Method Details

    • getAutoLink

      @AvailableSince("5.1") @Nullable public @Nullable String getAutoLink(String fromWorld, org.bukkit.PortalType portalType)
      Gets the auto-link for a given world and portal type.
      Parameters:
      fromWorld - The world name to get the auto-link for.
      portalType - The type of portal to get the auto-link for.
      Returns:
      The auto-link for the given world and portal type if it exists, otherwise null.
      Since:
      5.1
    • findNewTeleportLocation

      public org.bukkit.Location findNewTeleportLocation(org.bukkit.Location fromLocation, String worldString, org.bukkit.entity.Entity e)