Match vanilla /spreadplayers, /datapack, /reload, function tags and dialog codecs

/spreadplayers follows SpreadPlayersCommand (safe positions, failure
distance, float centre); /datapack models the built-in, feature and
world packs with their chat links; unknown function tags are empty.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-11 16:22:06 +02:00
parent b5d84b138d
commit 2faf5520b3
8 changed files with 317 additions and 172 deletions
+7
View File
@@ -655,7 +655,14 @@ def functions_and_packs():
cmd('/datapack list available'),
cmd('/datapack list enabled'),
cmd('/datapack enable vanilla'),
# Disabling vanilla reloads without its data; enable it again before
# anything observes the empty registries.
cmd('/datapack disable vanilla'),
{'op': 'tick', 'n': 20},
cmd('/datapack list enabled'),
cmd('/datapack enable vanilla'),
{'op': 'tick', 'n': 20},
cmd('/datapack list'),
cmd('/datapack enable "file/missing"'),
cmd('/datapack enable trade_rebalance'),
cmd('/datapack disable trade_rebalance'),