Packdev Toolkit
A collection of developer tools for building modpacks and datapacks. Pull textures/models out of resource packs, dump lang entries, search datapacks, and copy item IDs: all without leaving the game!
截图
介绍
Packdev Toolkit
A collection of developer tools for building modpacks and datapacks. Pull textures/models out of resource packs,
dump lang entries, search datapacks, and copy item IDs: all without leaving the game!
Requirements
- YetAnotherConfigLib (YACL).
- EMI (optional).
- When present, exporting and translation-key-copying work on any hovered item/recipe in EMI.
- Fabric API (Fabric).
Features
Export hovered asset/recipe (O)
Press the export key (default: O) to pull whatever you’re looking at into a checklist screen, where you pick which
files to copy into your export folder:

- Looking at a block: grabs every texture used by its current block model (including block entities like chests).
- Looking at an entity: grabs its texture.
- Holding an item: grabs the item’s texture(s).
- Hovering an item in EMI: same as holding it.
- Hovering a recipe in EMI’s recipe viewer: saves the recipe straight to a datapack JSON file (singleplayer only).

Hold Shift while pressing the export key to instead grab the raw JSON definitions (blockstate + block model, or
item model) instead of the PNG textures.

Selected files are copied into your configured export directory (see Configuration) and the containing
folder is opened for you automatically.
Copy translation key (J)
Press the copy key (default: J) while looking at a block/entity, holding an item, or hovering an item in EMI to
copy its lang entry to your clipboard:
"item.minecraft.diamond": "Diamond"
Handy for quickly building en_us.json entries for modpack renames.
Item Descriptions exports (Z)
With Item Descriptions loaded, you can grab descriptions directly in their
expected format.
Press the export description key (default: Z) while looking at a block/entity, holding an item, or hovering an
item/tag in EMI to automatically append its description lang key to your resource pack’s en_us.json file.
This automatically merges with your existing en_us.json if it exists, without overwriting other entries.
Browse vanilla/mod resource (/packdev browse)
This will open up a screen where you can select files from loaded mods to export to your configured data and assets
directories.

Dump item IDs and registries (/export)
Grabs item IDs, registries, or tag entries and saves them. Click the chat message to copy to your clipboard or
open the exported JSON file in your queries folder.
| Command | Dumps / Exports |
|————————————–|—————————————————————|
| /export hand | The item in your main hand (as copyable chat array) |
| /export hotbar | All 9 hotbar slots + offhand (as copyable chat array) |
| /export inventory | Your entire inventory (as copyable chat array) |
| /export biomes | All registered biomes (as a JSON file in your queries folder) |
| /export structures | All registered structures (as a JSON file) |
| /export configured_features | All registered configured features (as a JSON file) |
| /export placed_features | All registered placed features (as a JSON file) |
| /export registry <registry_id> | All entries in any registry (as a JSON file) |
| /export tag <registry_id> <tag_id> | All entries inside a specific tag (as a JSON file) |
| /export tags_of <registry> <entry> | All tags that a specific entry belongs to (as a JSON file) |
Search datapacks for item/block usage (/query)
Requires OP. Scans every loaded datapack for references to a given item or block and writes
the matching file IDs to a JSON file in your export folder (queries/ subfolder), then links the file in chat.
| Command | Searches |
|——————————————-|—————————————————————|
| /query find_item_in_loot <item> | loot_table and loot_modifiers JSON for the item ID |
| /query find_block_in_features <block> | worldgen/configured_feature JSON for the block ID |
| /query find_block_in_structures <block> | .nbt structure files whose block palette contains the block |
Useful for answering “which loot tables have this?” or “which structures use this block?” without manually searching
through datapack files.
Configuration
Accessible from the config screen in-game using YACL, or packdev_toolkit.json in your config folder
Export Directories
You can configure three separate destination folders for different types of output. These can be relative to the
game/server directory or absolute paths:
- Resource Pack Export Directory: The folder that client assets like textures, blockstates, and models are written to (default:
packdev_toolkit_resource_pack). - Data Pack Export Directory: The folder that server data like recipes are written to (default:
packdev_toolkit_data_pack). - Queries Export Directory: The folder that
/queryand/exportlist files are written to (default:packdev_toolkit_queries).
Keybinds
Keybinds are rebindable through the Controls screen under the “Packdev Toolkit” category.
Credits
Thanks to Cassian for the idea and basic implementation of translation key copying!
License
常见问题
Packdev Toolkit 支持哪些 Minecraft 版本?
Packdev Toolkit 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric / NeoForge。下载时注意选择和你游戏版本一致的文件。
Packdev Toolkit 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
evanbones 的其他作品
查看全部 →Shield Expansion
为盾牌加入弹反、附魔、等级和自定义功能,让盾牌玩法更有趣!
Cultural Delights
一个为农夫乐事添加世界各地美食系统的附属模组。
Sun and Moon Celestial Configuration
改变太阳和月亮的大小!
Wolf Armor Compat (Fabric)
Adds compatibility between Wolves With Armor and other popular mods
评论
登录后评论和评分