コマンドリファレンス
Minecraft /datapack Command
developerJava版のみ
サーバーにロードされたデータパックを管理し、クリエイターが動的に有効化、無効化、並べ替えられるようにします。
バージョン対応
Java版:1.21.4 (1.13+)
コマンド構文
Java版
/datapack enable <name> [first|last|before|after] | /datapack disable <name> | /datapack list引数の解説
actionenable / disable / list必須Specifies whether to load, unload, or list data packs.
nameData Pack IDThe file folder name or zip archive name of the datapack.
実用的な使用例
/datapack listLists all available data packs and their load statuses.
/datapack enable "file/custom_mechanics" firstEnables the custom_mechanics pack and places it at the highest priority.
重要な注意事項
Allows server developers to hot-swap custom gameplay rules, item components, advancements, and world-generation tweaks.