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:
Ludovic Marie
2026-10-27 02:49:42 +01:00
parent cac63dedca
commit aa6fdac501
11 changed files with 640 additions and 4 deletions
+1
View File
@@ -30,6 +30,7 @@ pub const DESTRUCTIVE: &[&str] = &[
"multiplayer remove",
"screenshots delete",
"packs remove",
"worlds datapack-remove",
];
/// Commands that send something or reach other people: only when the player asks.