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.