? Packed Packs
将资源包和数据包打包为配置文件,支持多选、拖放以及扩展的鼠标和键盘控制。

✨ 功能特性
- 保存和加载自定义配置文件。
- 一次性选择多个包。
- 在列之间拖放进行选择。
- 右键上下文菜单用于文件操作和其他选项。
- 按包的标题搜索。
- 按字母顺序或更新日期排序。
- 过滤掉不兼容的包。
? 附加文件夹
- 添加额外的文件夹以发现更多包。
- 通过在
config/packed_packs/config.json 中的 resourcepacks 或 datapacks 下的 additionalFolders 数组中添加路径来进行配置。
- 如果数组不存在,请手动创建它,或者打开并关闭 Packed Packs 屏幕以更新配置文件。
- 路径可以是绝对路径,也可以是相对于游戏目录的相对路径。
- 正确添加的文件夹会作为 Open Pack Folder(打开包文件夹)上下文菜单中的一个选项出现。
- 需要重启游戏才能生效。
?? 文件夹包
- 任何没有
pack.mcmeta 的文件夹都将被视为文件夹包。
- 在文件夹根目录添加
pack.png 以设置自定义图标。
- 文件夹可以嵌套。
- 它们可以被打开以查看和重新排列其内容。顺序保存在文件夹根目录的
packed_packs.folderpack.json 中。
- 可以将文件夹包锁定,使其表现得像常规包一样,可以在行和列之间移动。这些也被称为
module(模块)。
- 子项不能移出已锁定的文件夹包。锁定文件夹包会自动召回其子项。
- 锁定的文件夹包也会锁定所有作为文件夹的后代。
- 新发现的文件夹可以从选项菜单中默认设置为锁定状态。
- 当在
packed_packs.folderpack.json 中指定时,可以将内置包添加到文件夹包内。
?️ 鼠标控制
| 打开上下文菜单 |
右键单击 |
| 选择范围 |
按住 Shift 并点击 |
| 添加到/从选择中移除 |
按住 Ctrl 并点击 |
| 快速转移 |
双击 |
| 撤销 |
点击后退侧边按钮 |
| 重做 |
点击前进侧边按钮 |
⌨️ 键盘控制
| 导航条目 |
↑, ↓ |
| 退出条目导航 |
Tab |
| 转移选择 |
Space, Enter |
| 选择范围 |
Shift + ↑ / ↓ |
| 全选 |
Ctrl + A |
| 移动选择 |
Ctrl / Alt + ↑ / ↓ |
| 撤销 |
Ctrl + Z |
| 重做 |
Ctrl + Shift + Z, Ctrl + Y |
| 打开文件夹包 |
Enter |
| 关闭文件夹包 |
Escape |
| 删除文件 |
Delete |
| 重命名文件 |
Ctrl + R, F2 (如果未绑定到截图) |
| 打开文件 |
Ctrl + Enter |
| 在文件管理器中显示 |
Alt + Shift + R |
| 切换配置文件侧边栏 |
Ctrl + ` |
| 在默认配置和无配置之间切换 |
F1 |
| 刷新包 |
F5 |
| 聚焦搜索栏 |
Ctrl + F, Ctrl + K |
⚙️ 配置
- 关闭时自动应用资源包。
- 替换默认的 resourcepack 和 datapack 屏幕。
- 移除不兼容包上的红色背景。
- 默认锁定文件夹包。
- 重新打开屏幕时记住上次查看的配置文件。
? 开发者模式
- 切换开发者模式 — Ctrl + Shift + I | F12
- 在开发者模式下,右键菜单中将显示更多选项。
- 首选项:切换特定小部件的可见性。
- 锁定配置方案:被锁定的配置方案无法删除、重命名或修改。
- 覆盖包属性:
- 覆盖设置针对每个配置方案单独配置,除非设为默认值,否则仅对该配置方案生效。
- 覆盖包的 required(必需)属性。同时也允许禁用必需包。
- 覆盖包的 position(位置)属性。同时也允许移动固定位置的包。
- 隐藏包。
- 默认配置方案:
- 来自默认配置方案的覆盖设置会对所有配置方案(包括没有配置方案的情况,以及原始界面)全局生效。
- 在默认配置方案中启用的包会自动标记为兼容。
- 默认配置方案会在以下情况自动加载:
- 资源包:当
options.txt 或 config/packed_packs/__version.json 缺失时。
- 数据包:创建新世界时。
- 复制到剪贴板:复制选中包的 ID。
- 包别名:为包 ID 添加别名
- 旨在帮助整合包开发者在需要更新时迁移资源包/数据包,而不会影响用户已配置的包选择和顺序。
- 仅在包被选中但实际不存在时使用。匹配从别名映射表的顶部开始,并解析为第一个匹配项,请参阅
config.meta.json 文件。
- 支持正则表达式(必须以
regex: 为前缀),如果设置正确,文本颜色会在 编辑别名 对话框中发生变化。
- 别名也可以映射到正则表达式值(必须以
regex: 为前缀),这将尝试与任何可用的包进行匹配。
这只能通过 config.meta.json 文件完成。
- 精确匹配始终优先于正则表达式匹配,无论它们在别名映射表中的位置如何(例如,包 ID
file/test-v1.2 将始终匹配 "file/test-v1.2": "file/test-v1.4" 而不是
"regex:file\\/test-v\\d*": "file/test-v2")。
- 别名永远不会自动清除,即使它们指向一个不再存在的包。它们只能从游戏内 GUI 或配置文件中手动移除。
- 通常不建议对数据包使用此功能,因为这可能会破坏世界。请仔细测试。
♨️ Java API
Java API 作为可选依赖项设计,允许模组扩展功能或与 Packed Packs 添加兼容性。这包括订阅各种事件以及在屏幕的特定位置注册自定义偏好设置以添加可配置的小部件。
你可以在 testmod 中找到示例实现,
并在 main 源码集的 compat
包中找到相关代码。
你也可以从源代码查看 javadocs。
访问 wiki 页面 了解更多详情。
? 兼容性
明确添加了以下模组的兼容性:
- Resourcify
- Respackopts
- VTDownloader
- Entity Texture Features
- Polytone
如果上述模组变得不兼容,请提交问题。请确保
验证了目标 Minecraft 版本使用了正确的模组版本,并且该问题仅在安装了 Packed Packs 时出现。
注意:上述模组的兼容性是在 Java API 推出之前添加的。
其他模组最好利用 Java API 以获得更好的长期兼容性。如果上述模组做出足够的破坏性更改,可能不得不放弃兼容性支持。
LTS 版本:1.21.1, 1.21.11, 26.1, 26.2, 26.3
📦 Packed Packs
Pack resource and data packs into profiles with multiple selection, drag and drop, and extended mouse and keyboard
controls.

✨ Features
- Save and load custom profiles.
- Select multiple packs at once.
- Drag and drop selection between columns.
- Right click context menu for file operations and other options.
- Search by pack title.
- Sort packs alphabetically or by date updated.
- Filter out incompatible packs.
📂 Additional Folders
- Add extra folders for pack discovery.
- Configure in
config/packed_packs/config.json by adding paths under the additionalFolders array inside
resourcepacks or
datapacks.
- If the array doesn’t exist, create it manually or open and close the Packed Packs screen to update the config.
- Paths can be absolute or relative to the game directory.
- Correctly added folders appear as a context menu option under Open Pack Folder.
- Requires game restart to apply.
📂📦 Folder Packs
- Any folder without a
pack.mcmeta will be treated as a folder pack.
- Add a
pack.png at the folder root to set a custom icon.
- Folders can be nested.
- They can be opened to view and reorder their contents. The order is saved to
packed_packs.folderpack.json in the
folder root.
- Folder packs can be locked to make them behave like regular packs which can be moved between rows and columns.
These are also known as
modules.
- Children cannot be moved outside locked folder packs. Locking a folder pack will automatically recall its children.
- Locked folder packs will also lock all descendants that are folders.
- Newly discovered folders can be made locked by default from the options menu.
- Built-in packs can be added inside folder packs when specified in
packed_packs.folderpack.json.
🖱️ Mouse Controls
| Open Context Menu |
right click |
| Select range |
hold Shift and click |
| Add/remove from selection |
hold Ctrl and click |
| Quick transfer |
double click |
| Undo |
click backwards side button |
| Redo |
click forwards side button |
⌨️ Keyboard Controls
| Navigate entries |
↑, ↓ |
| Navigate out of entries |
Tab |
| Transfer selection |
Space, Enter |
| Select range |
Shift + ↑ / ↓ |
| Select all |
Ctrl + A |
| Move selection |
Ctrl / Alt + ↑ / ↓ |
| Undo |
Ctrl + Z |
| Redo |
Ctrl + Shift + Z, Ctrl + Y |
| Open folder pack |
Enter |
| Close folder pack |
Escape |
| Delete file |
Delete |
| Rename file |
Ctrl + R, F2 (if not bound to screenshot) |
| Open file |
Ctrl + Enter |
| Show in file manager |
Alt + Shift + R |
| Toggle profiles sidebar |
Ctrl + ` |
| Switch between default and no profile |
F1 |
| Refresh packs |
F5 |
| Focus search bar |
Ctrl + F, Ctrl + K |
⚙️ Configuration
- Apply resource packs automatically on close.
- Replace the default resourcepack & datapack screens.
- Remove the red background on incompatible packs.
- Make folder packs locked by default.
- Remember the last viewed profile when reopening the screen.
🚀 Developer Mode
- Toggle developer mode — Ctrl + Shift + I | F12
- Additional options will appear in the context menu when in developer mode.
- Preferences: Toggle the visibility of certain widgets.
- Lock Profiles: Locked profiles cannot be deleted, renamed, or modified.
- Override Pack Properties:
- Overrides are configured per profile and apply only to that profile unless set as default.
- Override the required property of packs. Also allows disabling required packs.
- Override the position property of packs. Also allows moving fixed packs.
- Hide packs.
- Default Profiles:
- Overrides from the default profile are enabled globally for all profiles and even without one, including the
original screen.
- Enabled packs under the default profile are automatically marked as compatible.
- Default profiles load automatically in the following cases:
- Resource Packs: when the
options.txt or the config/packed_packs/__version.json, is missing.
- Data Packs: when creating a new world.
- Copy to Clipboard: Copy the select pack's ID.
- Pack Aliases: Add aliases to Pack IDs
- Designed to help modpack devs migrate resource/data packs when updates are needed without affecting the user's
configured pack selection and order.
- Only used if the pack is selected but doesn't exist. Matching starts from the top of the alias map
and resolves to the first match, see the
config.meta.json file.
- Supports regex (must be prefixed with
regex:), the text color will change in the Edit Aliases dialog if done
correctly.
- Aliases can also map to a regex value (must be prefixed with
regex:), which will attempt to match with any available pack.
This can only be done from the config.meta.json file.
- Exact matches always take priority over regex matches, regardless of their position in the alias map (e.g., a pack
ID of
file/test-v1.2 will always match "file/test-v1.2": "file/test-v1.4" over
"regex:file\\/test-v\\d*": "file/test-v2").
- Aliases are never cleared automatically, even if it points to a pack that no longer exists. They are only removed
manually from the in-game GUI or the config file.
- It is generally not recommended to use on data packs as it could break worlds. Test thoroughly.
♨️ Java API
The Java API, designed as an optional dependency, allows mods to extend functionality or add compatibility with
Packed Packs. This includes subscribing to various events and registering custom preferences
to add configurable widgets at certain positions of the screen.
You can find example implementations in the testmod,
and in the compat
package of the main source set.
You may also view the javadocs from the source code.
Visit the wiki page for more details.
🔗 Compatibility
Explicit compatibility is added for:
- Resourcify
- Respackopts
- VTDownloader
- Entity Texture Features
- Polytone
Submit an issue if the above mods have become incompatible. Make sure
to verify that the correct mod version is used for the target minecraft version, and if the issue only occurs with
Packed Packs installed.
Note: Compatibility for the above mods were added before the Java API was made.
It would be better for other mods to make use of the Java API instead for better long
term compatibility. If the above mods make enough breaking changes, it may have to be dropped.
LTS versions: 1.21.1, 1.21.11, 26.1, 26.2, 26.3
评论 0
登录后参与评分
还没有评论,来抢沙发吧