PackTools
面向 Minecraft Forge 整合包作者的实用模组,新增可供 CraftTweaker 使用的数据导出、战利品和矿石生成测试器、配方冲突检测,以及可自定义的新手礼包系统。
截图
介绍
Pack Tools is a toolkit for modpack developers designed to streamline item balancing, world generation testing, and starting inventory setup without cluttering the main game log.
Unlike standard CraftTweaker commands that dump massive amounts of data into a single crafttweaker.log file, Pack Tools organizes information into separate text files and automatically formats items for direct use in ZenScript. The mod works in both singleplayer and multiplayer (acceptableRemoteVersions = "*") and includes built-in English and Ukrainian localization.
How It Works
Separate Dump Files (dumps/): All dump commands generate structured UTF-8 .txt files inside a dumps/ folder in the root game or server directory. Items are formatted directly for CraftTweaker (<modid:item:meta>) with additional stats and metadata included as comments.
Starter Kit System (config/modpackhelper_kit.json): Modpack authors can arrange items in their inventory, equip armor, and place an item in the offhand, then save the entire loadout with a single command. When a new player joins a world for the first time, the mod automatically clears their inventory of unwanted starter books or items from other mods (controlled via clear_inventory_on_join) and equips the saved kit. You can also manually edit the chance value (from 0.0 to 1.0) for each item in the JSON file to make parts of the starting gear randomized.
Interactive Chat Menu: Running /mph prints a list of all available utilities in the chat. Clicking any command in the chat automatically pastes it into your input bar.
Permissions: All commands require permission level 2 (OP status on servers or cheats enabled in singleplayer).
Command Reference
Main Menu, Starter Kit & Testers
| Command | Description & Output |
|---|---|
/mph |
Opens a clickable directory of all mod commands directly in the in-game chat. |
/mpkit save |
Saves your current main inventory (slots 0–35), equipped armor (slots 100–103), and offhand item (slot 106), including metadata and NBT tags, to config/modpackhelper_kit.json. |
/mptest loot <modid:table> |
Generates loot from the specified loot table (e.g., minecraft:chests/simple_dungeon) directly into your inventory, or drops excess items nearby if your inventory is full. |
/mptest orecalc <radius> |
Scans all non-air blocks from
|
Data Dump Commands (/mpdump <subcommand>)
All subcommands support Tab auto-completion:
/mpdump armor — Exports all armor in the modpack to dumps/dump_armor.txt with localized display names, equipment slots, Protection points, and Toughness values.
/mpdump misc (or /mpdump crafting) — Exports all items and blocks that are neither armor nor food to dumps/dump_misc.txt along with their display names.
/mpdump tools — Exports all tools, swords, bows, and hoes to dumps/dump_tools.txt with their display names and Max Durability.
/mpdump uncrafted — Finds items that have no crafting table or furnace smelting recipes and saves them to dumps/dump_uncrafted.txt to help locate unobtainable or forgotten items in your pack.
/mpdump duplicates — Scans the OreDictionary and exports only tags (<ore:name>) containing two or more registered items to dumps/dump_duplicates.txt.
/mpdump enchants — Saves all registered enchantments to dumps/dump_enchants.txt in <enchantment:modid:name> format along with max level, rarity, and applicable item type.
/mpdump fluids — Exports all registered fluids (<fluid:name>) to dumps/dump_fluids.txt with temperature (in Kelvin), viscosity, density, and gaseous state.
/mpdump dimensions — Logs the ID, name, and spawn-loading status of all registered dimensions to dumps/dump_dimensions.txt.
/mpdump biomes_advanced — Saves all biomes to dumps/dump_biomes_advanced.txt with their registry ID, base temperature, rainfall, and BiomeDictionary tags (NETHER, END, HOT, COLD, etc.).
/mpdump loottables — Exports a complete list of all registered loot table resource paths to dumps/dump_loottables.txt.
/mpdump spawns — Generates a report in dumps/dump_spawns.txt detailing mob spawns per biome by creature category, including entity class, spawn weight, and group size.
/mpdump conflicts — Scans crafting table recipes for strict conflicts (identical input ingredients producing different output items) and writes matches to dumps/dump_conflicts.txt.
/mpdump villagertrades — Exports the registry names of all villager professions to dumps/dump_villager_professions.txt for configuring villager trades via scripts.
常见问题
PackTools 支持哪些 Minecraft 版本?
PackTools 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
PackTools 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
tifus_dg 的其他作品
查看全部 →FluidOredict
告别不兼容的流体——使用终极可自定义流体矿物词典,在所有模组中统一、合并和共享任何流体!
Wet Torch Mechanic
Realistic Torches 的硬核附加模组:雨水、雪、炼药锅和喷溅型水瓶现在会真实地熄灭你的火把!
Smart Evil Mobs
你是否厌倦了用简单的玻璃迷宫、两格跳跃或泥土柱子来智取怪物?Smart Evil Mobs 彻底重做了原版怪物 AI,将它们变成无情、战术性的猎手,主动反制玩家的标准防御手段。
Burn Punishment
在火焰中粗心行事会受到惩罚:燃烧效果持续不退、护甲严重受损,并加入动态防护系统,带来硬核生存体验。
评论
登录后评论和评分