Skip to content

Commit 329a063

Browse files
committed
docs: enhance import documentation with command syntax and examples
1 parent ef2f280 commit 329a063

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
11
---
22
title: Import an existing world
33
---
4+
5+
To import an existing world, you can use the `/world import <world> [<key>] [<dimension>] [<generator>]` command.
6+
7+
<Callout type="info" title="Command Syntax">
8+
- If `<key>` is undefined, a matching key will be created, if possible.
9+
- The `<dimension>` argument denotes which dimension will be imported.
10+
If undefined, the default dimension (`minecraft:overworld`) will be used.
11+
- The `<generator>` defines the custom world generator to use for the imported world.
12+
</Callout>
13+
14+
## Examples
15+
16+
To import a specific dimension of a world, you can use the following command:
17+
18+
```
19+
/world import End worlds:end minecraft:the_end
20+
```
21+
22+
To import a world with a specific generator, you can use the following command:
23+
24+
```
25+
/world import "My World" worlds:my_world TheGeneratorPlugin
26+
```
27+
28+
To import a world without any specific key, dimension or generator, you can use:
29+
30+
```
31+
/world import Survival
32+
```

0 commit comments

Comments
 (0)