Skip to content

Commit e7dc38c

Browse files
committed
feat: add comprehensive documentation for managing world links and update navigation
1 parent e37e8c9 commit e7dc38c

File tree

4 files changed

+61
-44
lines changed

4 files changed

+61
-44
lines changed

content/docs/worlds/links/create.mdx

Lines changed: 0 additions & 24 deletions
This file was deleted.

content/docs/worlds/links/index.mdx

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: World links
3+
description: Link your worlds to restore vanilla portal travel behavior
4+
---
5+
6+
## What are world links?
7+
8+
World links allow you to connect up to three worlds together, enabling players to travel between them as if they were part of the same world.
9+
This is aimed for restoring the vanilla portal travel behavior, where players can use Nether and End portals to travel between dimensions.
10+
11+
<Callout type="info">
12+
You can only link one of each dimension type together, so you can link one Overworld, one Nether,
13+
and one End world.
14+
</Callout>
15+
16+
<Callout type="error">
17+
Links are not intended as a way to create custom portals, but rather to restore the original
18+
vanilla behavior.
19+
</Callout>
20+
21+
## Creating world links
22+
23+
To create a world link you need to have at least two worlds created.
24+
You can create a link by using the command `/world link create <world> <destination>`.
25+
26+
The `<world>` argument has to be a world of the dimension type `Overworld`.
27+
The `<destination>` world must be a `Nether` or `End` dimension.
28+
29+
## Example [!toc]
30+
31+
Linking an **Overworld** to a **Nether** world:
32+
33+
```
34+
/world link create farmworld:normal farmworld:nether
35+
```
36+
37+
Linking an **Overworld** to an **End** world:
38+
39+
```
40+
/world link create farmworld:normal farmworld:the_end
41+
```
42+
43+
## Removing world links
44+
45+
Removing a world link is straightforward.
46+
You can remove a link by using the command `/world link remove <world> <destination>`.
47+
48+
## Example [!toc]
49+
50+
Removing the link between an **Overworld** and a **Nether** world:
51+
52+
```
53+
/world link remove farmworld:normal farmworld:nether
54+
```
55+
56+
Removing the link between an **Overworld** and an **End** world:
57+
58+
```
59+
/world link remove farmworld:normal farmworld:the_end
60+
```
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"pages": ["create", "clone", "import", "load-unload", "delete", "..."]
2+
"pages": ["create", "clone", "import", "load-unload", "delete", "links", "..."]
33
}

0 commit comments

Comments
 (0)