minecraft-datapack-language 17.0.11__py3-none-any.whl → 17.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- minecraft_datapack_language/_embedded/docs/_data/version.yml +3 -3
- minecraft_datapack_language/_embedded/docs/_docs/cli-reference.md +52 -4
- minecraft_datapack_language/_version.py +2 -2
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/METADATA +1 -1
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/RECORD +9 -9
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/WHEEL +0 -0
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/entry_points.txt +0 -0
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/licenses/LICENSE +0 -0
- {minecraft_datapack_language-17.0.11.dist-info → minecraft_datapack_language-17.0.12.dist-info}/top_level.txt +0 -0
@@ -1,3 +1,3 @@
|
|
1
|
-
current: "17.0.
|
2
|
-
tag: "v17.0.
|
3
|
-
updated_at: "2025-09-
|
1
|
+
current: "17.0.10"
|
2
|
+
tag: "v17.0.10"
|
3
|
+
updated_at: "2025-09-10T23:56:34Z"
|
@@ -124,16 +124,24 @@ mdl new adventure_map
|
|
124
124
|
mdl new projects/survival_plus
|
125
125
|
```
|
126
126
|
|
127
|
-
**What it creates:**
|
128
|
-
The new command generates a
|
127
|
+
**What it creates (by default):**
|
128
|
+
The new command generates a project structure with:
|
129
129
|
- `README.md` - Quick start with build instructions
|
130
130
|
- `main.mdl` - Hello world (pack, namespace, simple function, on_load)
|
131
|
+
- `docs/` - A literal copy of the MDL documentation for offline/local browsing
|
132
|
+
- `serve_docs.sh` and `serve_docs.ps1` - Convenience scripts to serve docs locally
|
131
133
|
|
132
|
-
**Generated project structure:**
|
134
|
+
**Generated project structure (default):**
|
133
135
|
```
|
134
136
|
my_awesome_pack/
|
135
137
|
├── README.md
|
136
|
-
|
138
|
+
├── main.mdl
|
139
|
+
├── docs/
|
140
|
+
│ ├── index.md
|
141
|
+
│ ├── _config.yml
|
142
|
+
│ └── ...
|
143
|
+
├── serve_docs.sh
|
144
|
+
└── serve_docs.ps1
|
137
145
|
```
|
138
146
|
|
139
147
|
**Template content includes:**
|
@@ -167,6 +175,46 @@ my_awesome_pack/
|
|
167
175
|
| Option | Description | Example |
|
168
176
|
|--------|-------------|---------|
|
169
177
|
| `<project_name>` | Name of the new project to create | `mdl new my_pack` |
|
178
|
+
| `--pack-name <name>` | Override datapack name used in `pack.mcmeta` | `--pack-name Adventure` |
|
179
|
+
| `--pack-format <num>` | Pack format number (defaults to modern value) | `--pack-format 82` |
|
180
|
+
| `--output <dir>` | Directory to create the project in | `--output ./projects` |
|
181
|
+
| `--exclude-local-docs` | Do not copy the MDL docs into `docs/` | `--exclude-local-docs` |
|
182
|
+
|
183
|
+
By default, `mdl new` includes a full `docs/` folder in your project so new users have local docs offline. Use `--exclude-local-docs` to skip this step.
|
184
|
+
|
185
|
+
Serve the docs quickly with the generated scripts:
|
186
|
+
|
187
|
+
```bash
|
188
|
+
# Bash/Git Bash
|
189
|
+
./serve_docs.sh
|
190
|
+
|
191
|
+
# PowerShell
|
192
|
+
./serve_docs.ps1
|
193
|
+
```
|
194
|
+
|
195
|
+
Both scripts prefer Jekyll (if `bundle` and a `Gemfile` are present), otherwise they fall back to a simple Python web server.
|
196
|
+
|
197
|
+
You can also serve docs via the CLI:
|
198
|
+
|
199
|
+
```bash
|
200
|
+
mdl docs serve --dir docs --port 8000
|
201
|
+
```
|
202
|
+
|
203
|
+
This starts a local web server for the `docs/` directory.
|
204
|
+
|
205
|
+
## Completion Command
|
206
|
+
|
207
|
+
Install shell autocompletion so you can type `mdl bui<Tab>` and get `build`:
|
208
|
+
|
209
|
+
```bash
|
210
|
+
mdl completion install # auto-detects your shell
|
211
|
+
mdl completion install bash # explicit shell
|
212
|
+
mdl completion uninstall zsh # remove
|
213
|
+
mdl completion print fish # print script for manual use/CI
|
214
|
+
mdl completion doctor # basic diagnostics
|
215
|
+
```
|
216
|
+
|
217
|
+
Supported shells: Bash (incl. Git Bash), Zsh, Fish, and PowerShell.
|
170
218
|
|
171
219
|
## Error Handling
|
172
220
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '17.0.
|
32
|
-
__version_tuple__ = version_tuple = (17, 0,
|
31
|
+
__version__ = version = '17.0.12'
|
32
|
+
__version_tuple__ = version_tuple = (17, 0, 12)
|
33
33
|
|
34
34
|
__commit_id__ = commit_id = None
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: minecraft-datapack-language
|
3
|
-
Version: 17.0.
|
3
|
+
Version: 17.0.12
|
4
4
|
Summary: Compile MDL language with explicit scoping into a Minecraft datapack (1.21+ ready). Features variables, control flow, error handling, and VS Code extension.
|
5
5
|
Project-URL: Homepage, https://www.mcmdl.com
|
6
6
|
Project-URL: Documentation, https://www.mcmdl.com/docs
|
@@ -1,5 +1,5 @@
|
|
1
1
|
minecraft_datapack_language/__init__.py,sha256=0KVXBE4ScRaRUrf83aA2tVB-y8A_jplyaxVvtHH6Uw0,1199
|
2
|
-
minecraft_datapack_language/_version.py,sha256=
|
2
|
+
minecraft_datapack_language/_version.py,sha256=Na0c13EH4pNVBGzO7cGMn_hnIJYj2hp5GRQbBpTRUYk,708
|
3
3
|
minecraft_datapack_language/ast_nodes.py,sha256=L5izavSeXDr766vsfRvJrcnflXNJyXcy0WSfyJPq2ZA,4484
|
4
4
|
minecraft_datapack_language/cli.py,sha256=S5Lbv7c5U3osy1S-pYoRH8J5fu2KaTTWCoo2YcKhDaI,22610
|
5
5
|
minecraft_datapack_language/dir_map.py,sha256=HmxFkuvWGkzHF8o_GFb4BpuMCRc6QMw8UbmcAI8JVdY,1788
|
@@ -17,8 +17,8 @@ minecraft_datapack_language/_embedded/docs/_config.yml,sha256=wx1F7KonP5t0fvF8ow
|
|
17
17
|
minecraft_datapack_language/_embedded/docs/docs.md,sha256=odOG-EryTrvQFaAEbcqEbtqmPVR1xzQQf5Yc0S0zwFY,4042
|
18
18
|
minecraft_datapack_language/_embedded/docs/downloads.md,sha256=Lp4ShcqCuDoGypswm5sGYORCOYVwGDmVLEz-5NyKndQ,10250
|
19
19
|
minecraft_datapack_language/_embedded/docs/index.md,sha256=lyUqzvaeQhTZdir_6lpEMExWBUFlLcti7KoJVzQ_57Q,9855
|
20
|
-
minecraft_datapack_language/_embedded/docs/_data/version.yml,sha256=
|
21
|
-
minecraft_datapack_language/_embedded/docs/_docs/cli-reference.md,sha256=
|
20
|
+
minecraft_datapack_language/_embedded/docs/_data/version.yml,sha256=DDmR8TgMb5RDCkwdjH2XPY8qWBnLIz7xICCVa6XviW0,70
|
21
|
+
minecraft_datapack_language/_embedded/docs/_docs/cli-reference.md,sha256=yrZW8pp6T124XCUKuG-59S5YDY0WevaIQ7SwfXQ_Irw,11922
|
22
22
|
minecraft_datapack_language/_embedded/docs/_docs/contributing.md,sha256=Qs-AHky6G9P4L0siMg3l9dAO8I8AzSGW-htEaM_C-Gg,9434
|
23
23
|
minecraft_datapack_language/_embedded/docs/_docs/docs-hub.md,sha256=b0oyaoYkEeKOjG2bRWm4MUnrd03tznKPcECIkhS1sUw,7464
|
24
24
|
minecraft_datapack_language/_embedded/docs/_docs/documentation.md,sha256=zVpFf5X-fLAd7QDOK5x4Nk546vgJr7dw5XGyXCrUw5w,4074
|
@@ -48,9 +48,9 @@ minecraft_datapack_language/completions/mdl.bash,sha256=mlRdQ1PwoFwl7Fw5j7u0mhsN
|
|
48
48
|
minecraft_datapack_language/completions/mdl.fish,sha256=ReWjaqUwjQni-hUZfVQG2CsI5fE7uJpoywiKrQhtcFw,1923
|
49
49
|
minecraft_datapack_language/completions/mdl.ps1,sha256=b2A1sFCtY23sv1-LILhPu0lphnZqzVjl__AtvCUMWtU,1744
|
50
50
|
minecraft_datapack_language/completions/mdl.zsh,sha256=Pdx6yuSFaK2-UIsriVoJJacuWnw2f9DOWrVhPJLBAwo,633
|
51
|
-
minecraft_datapack_language-17.0.
|
52
|
-
minecraft_datapack_language-17.0.
|
53
|
-
minecraft_datapack_language-17.0.
|
54
|
-
minecraft_datapack_language-17.0.
|
55
|
-
minecraft_datapack_language-17.0.
|
56
|
-
minecraft_datapack_language-17.0.
|
51
|
+
minecraft_datapack_language-17.0.12.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
52
|
+
minecraft_datapack_language-17.0.12.dist-info/METADATA,sha256=PhapTzt91Pa30EkUz0SYKIrU8xq3O1oPk6tT4mCN1is,8418
|
53
|
+
minecraft_datapack_language-17.0.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
54
|
+
minecraft_datapack_language-17.0.12.dist-info/entry_points.txt,sha256=c6vjBeCiyQflvPHBRyBk2nJCSfYt3Oc7Sc9V87ySi_U,108
|
55
|
+
minecraft_datapack_language-17.0.12.dist-info/top_level.txt,sha256=ADtFI476tbKLLxEAA-aJQAfg53MA3k_DOb0KTFiggfw,28
|
56
|
+
minecraft_datapack_language-17.0.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|