? 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中指定时,可以将内置包添加到文件夹包内。- 示例:
{ "module": false, "packIds": [ "continuity:default", "examplenamespace:examplepath" ] } - 注意:这只能在 Packed Packs 屏幕之外完成,因为
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.jsonby adding paths under theadditionalFoldersarray insideresourcepacksordatapacks. - 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.mcmetawill be treated as a folder pack. - Add a
pack.pngat 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.jsonin 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.- Example:
{ "module": false, "packIds": [ "continuity:default", "examplenamespace:examplepath" ] } - Note: This can only be done outside the Packed Packs screen as the
packed_packs.folderpack.jsonfile is only loaded once on enter to prevent overwriting unsaved state.
- Example:
🖱️ 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.txtor theconfig/packed_packs/__version.json, is missing. - Data Packs: when creating a new world.
- Resource Packs: when the
- 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.jsonfile. - 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 theconfig.meta.jsonfile. - 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.2will 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
下载 Packed Packs
下载 Packed Packs
下载 Packed Packs
下载 Packed Packs
下载 Packed Packs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Packed Packs
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Packed Packs
下载 Packed Packs
下载 Packed Packs
下载 Packed Packs
-
添加了通过拖拽左侧按钮在配置侧边栏中重新排序配置的功能(#60)。
-
为配置添加了描述,鼠标悬停或聚焦时会以提示框形式显示(#65)。
- 可以通过配置侧边栏中的编辑按钮进行修改。
-
添加了选项,用于交换“显示资源包”按钮与传输精灵图标及快速传输(双击)快捷键的功能。(#80)
- 启用后,“显示资源包”按钮将改为传输文件夹内的所有资源包,而“选择/取消选择”按钮将打开文件夹。此时双击将改为打开文件夹,而非传输所有资源包。
- 该选项可设置为开启、关闭或仅对未锁定文件夹生效。
-
添加了配置 Packed Packs 界面最大宽度的选项。
-
改进了在发现文件夹时的资源加载性能,特别是对于深层嵌套的文件夹(#82)。
-
允许将根级包虚拟添加到文件夹中,与内置包相同。同样也适用相同的限制。
-
新发现的子文件夹现在会放置在保存顺序的顶部。
- 注意:包的顺序(包括子文件夹)保存在文件夹的配置中,从而在递归转移文件夹的所有包时能够保留顺序。进入文件夹时,排序选项也会更改为“无”,以显示已保存的顺序,而不是之前选择的排序选项。这或许可以解释为什么某些情况下子文件夹会显示在常规包下方的困惑。
-
打开下拉菜单现在会将焦点切换到下拉容器,这可能有助于解决一些模组试图通过重置按钮点击时的焦点来修复 MC-259387 的问题 (#79)。
- 注意:这并不能完全解决与此类模组的所有兼容性问题,而且我并不认同这些尝试性的修复方法。
因为它会破坏焦点。Mojang 在 26.4 快照 7 中对该问题的更改(或可能是修复)更为可取。
- 修复了与修改打包选择配置的模组的兼容性(解决了即使使用 Server Pack Unlocker 或 Catharis 也无法移动服务器包的问题 #76)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧