Launcher: data packs into a world
datapacks.rs lists a world's datapacks/ (zips and folders with pack.mcmeta, as the game discovers them; off when datapacks.json lists them disabled), adds a data pack zip under a free name (refusing resource packs: no data/ folder) and removes one to the trash, forgetting it in datapacks.json. The game turns a new pack on when the world opens. Home: each world gets "Data packs", which opens its packs under the row with Add data pack… and Remove; a zip dropped on a world goes into it. CLI: `worlds datapack-list|datapack-add|datapack-remove <world>`; datapack-remove needs confirm over MCP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -374,6 +374,41 @@ Move a world to the system's trash.
|
||||
|
||||
MCP: `worlds_delete`, needs `confirm: true`.
|
||||
|
||||
## `horizon-launcher worlds datapack-list`
|
||||
|
||||
A world's data packs, and which are on.
|
||||
|
||||
horizon-launcher worlds datapack-list <WORLD>
|
||||
|
||||
- `WORLD`
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_datapack_list`.
|
||||
|
||||
## `horizon-launcher worlds datapack-add`
|
||||
|
||||
Copy a data pack zip into a world (the game turns it on when the world opens).
|
||||
|
||||
horizon-launcher worlds datapack-add <WORLD> <FILE>
|
||||
|
||||
- `WORLD`
|
||||
- `FILE`
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_datapack_add`.
|
||||
|
||||
## `horizon-launcher worlds datapack-remove`
|
||||
|
||||
Move a world's data pack to the system's trash.
|
||||
|
||||
horizon-launcher worlds datapack-remove <WORLD> <PACK>
|
||||
|
||||
- `WORLD`
|
||||
- `PACK`: Its file name, with or without .zip
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_datapack_remove`, needs `confirm: true`.
|
||||
|
||||
## `horizon-launcher packs list`
|
||||
|
||||
The resource and shader packs, and which are on (the default).
|
||||
|
||||
Reference in New Issue
Block a user