You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/guide/export-targets.md
+6-23Lines changed: 6 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,12 @@ These are the export targets that Regolith offers.
29
29
30
30
## Development
31
31
32
-
The development export target will place the compiled packs into your `com.mojang``development_*_packs` folders.
32
+
The development export target will place the compiled packs into your `com.mojang``development_*_packs` folders of the specified Minecraft build (standard, preview or education endition).
33
33
34
34
```json
35
35
"export": {
36
-
"target": "development"
36
+
"target": "development",
37
+
"build": "standard"// or "preview" or "education"
37
38
}
38
39
```
39
40
@@ -42,6 +43,7 @@ Optionally, you can use `rpName` and `bpName` to specify the names of the folder
42
43
```json
43
44
"export": {
44
45
"target": "development",
46
+
"build": "standard",
45
47
"rpName": "'my_rp'",
46
48
"bpName": "'my_bp'"
47
49
}
@@ -91,13 +93,14 @@ The exact export target doesn't support using `rpName` and `bpName`. The `rpPath
91
93
92
94
The World export target will place the compiled files into a specific world. This is useful for teams that prefer working in-world, as opposed to in the development pack folders.
93
95
94
-
You need to use *either*`worldName` or `worldPath` to select the world. `worldPath` supports environment variables by using the `%VARIABLE_NAME%` syntax.
96
+
You need to use *either*`worldName` or `worldPath` to select the world. `worldPath` supports environment variables by using the `%VARIABLE_NAME%` syntax. If you use `worldName`, you have to specify the Minecraft build you're using - `standard`, `preview` or `education`.
95
97
96
98
Example:
97
99
98
100
```json
99
101
"export": {
100
102
"target": "world",
103
+
"build": "standard",
101
104
"worldName": "..."// This
102
105
// "worldPath": "..." // OR this
103
106
}
@@ -114,26 +117,6 @@ Optionally, you can use `rpName` and `bpName` to specify the names of the folder
114
117
}
115
118
```
116
119
117
-
118
-
## Preview
119
-
120
-
The development export target will place the compiled packs into your **(minecraft preview)**`com.mojang``development_*_packs` folder.
121
-
122
-
```json
123
-
"export": {
124
-
"target": "preview"
125
-
}
126
-
```
127
-
128
-
Optionally, you can use `rpName` and `bpName` to specify the names of the folders that will be created in the `development_*_packs` folders. You can read more about these options at the end of this page of the documentation.
129
-
```json
130
-
"export": {
131
-
"target": "preview",
132
-
"rpName": "'my_rp'",
133
-
"bpName": "'my_bp'"
134
-
}
135
-
```
136
-
137
120
# The `rpName` and `bpName` expressions
138
121
139
122
The `rpName` and `bpName` are expressions evaulated using the [go-simple-eval](https://github.com/stirante/go-simple-eval/) library. They let you specify the names of the folders of the exported packs in some of the export targets.
0 commit comments