World Switching - APDevTeam/Movecraft GitHub Wiki
Multiworld Teleportation
When using a teleport sign you can specify a specific world to teleport to. Note: using this functionality requires that the craft type flag canSwitchWorld
is set to true (default false) along with the canTeleport
flag required to use teleport signs.
Usage
A sign with this text:
Teleport:
10,100,10
world_the_end
will teleport the craft so that the sign is located at x=10, y=100, z=10, in the world named world_the_end
.
Nether Portals
If the configuration option CraftsUseNetherPortals
is set to true (in the main config.yml) crafts will be able to travel through nether portals.
Usage
Crafts can use nether portals regardless of the setting of the canSwitchWorld
craft type flag. For a craft to travel through a portal the portal must be large enough to fit the entire craft through.
How to find the destination coordinates
Crafts traveling through nether portals respect the 1:8 scaling of the nether dimension. To find the location where the craft will end up, find the coordinates of the portal's lower north western corner. Divide the x and z coordinates by 8 (rounding down) and go to that location in the nether. Constructing an equally sized nether portal facing the same direction with it's lower north western corner at those coordinates will line up perfectly and the craft will appear to be coming out of that portal and reentering it from the nether will make it appear to come out of the portal in the overworld.