export_standard_pack
Exports a standardized Minecraft modpack by cleaning extra files, unwrapping nested archives, generating a modlist, and optionally splitting large packs into volumes; returns a detailed operation report.
Instructions
导出规范格式的整合包:自动清理多余文件、解压嵌套压缩包、生成 modlist、可选分卷打包。返回详细操作报告。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No | 输出目录路径;不填则自动生成同名 _ready 子目录 | |
| minecraft_dir | No | .minecraft 根目录路径,用于 clean_minecraft_extra | |
| split_volumes | No | 是否将最终包按卷拆分(超大整合包时使用,每卷不超过 volume_max_mb MB) | |
| unwrap_nested | No | 是否解压顶层的嵌套 .zip 文件(如附加包、子包)并删除原压缩包 | |
| volume_max_mb | No | 每个卷的最大体积(MB),默认 256 | |
| modlist_format | No | modlist 格式,默认 html | |
| source_pack_dir | Yes | 源整合包根目录路径,如 C:/Users/xxx/Desktop/MyModpack | |
| generate_modlist | No | 是否生成 modlist.html(或 modlist.txt) | |
| clean_minecraft_extra | No | 是否清理 .minecraft 中的 logs/crash-reports 等垃圾目录,需配合 minecraft_dir 使用 |