WormholeNavigation

public class WormholeNavigation

Functions

Link copied to clipboard
public static Location findDirectWormholeEntry(Location sourceLocation, Location destinationLocation)
The source-world end of a wormhole linking straight to the destination's world.
Link copied to clipboard
public static Location findInstanceLauncher(Location sourceLocation, String packageFilename)
The source-world wormhole end nearest the source whose other end starts the given dungeon package.
Link copied to clipboard
public static Location findNavigationTarget(Location sourceLocation, Location destinationLocation)
Where to point a player heading for a destination: the destination itself in the same world, the portal that starts its dungeon when it is inside a dungeon copy, otherwise the wormhole into its world landing closest to it.
Link copied to clipboard
public static String instancedPackageForWorld(World world)
Link copied to clipboard
public static String instancedPackageForWorldName(String worldName)