Paxi Extra
这是 Paxi 的一个附加组件,旨在实现以下五个功能:
- 允许对模组添加的内置资源包和数据包使用 Paxi (参见 #27)
- 如果
config -> paxi -> resourcepacks 和 datapacks 中的内容未列在 resourcepack_load_order.json 或 datapack_load_order.json 中,则禁止 Paxi 自动加载这些包
- 让 Paxi 在启动时生成数据包文件夹和 JSON 文件,而不是在世界生成之后
- 添加一个
--user-- 标记,让你可以决定自己的包放置在哪里。如果你希望手动选择的包位于 Paxi 管理的包之上,或者你想放在其他任何位置,这非常有用
- 移除 Paxi 加载的包的重新排序箭头,因为加载顺序已经决定了它们的位置,手动拖拽上去或下来的包会立即弹回原位
如何使用?
按你希望的顺序列出你想要加载的包,其余包不会被强制加载:
{
"loadOrder": [
"resourcepacks/my_base_pack.zip",
"mod/somemod",
"--user--",
"resourcepacks/my_overrides.zip"
]
}
列表靠后的优先级更高。位于 --user-- 上方的包会排在你手动选择的包之下,位于其下方的包则会排在它们之上。如果不包含 --user--,则所有包都会保持在顶部,这与 Paxi 的默认行为一致。
对于内置包的支持,你需要知道包的 ID。你可以查看模组的源代码、猜测 ID,或者使用 Resource Pack Overrides 并在资源包界面按住 D 键来查看所有包的 ID。你也可以对 fabric 和 mod_resources 进行排序,以便将所有模组资产堆叠在特定位置。
不需要通过 Paxi 加载 fabric 和其他内置包,这是一个可选功能。
直接从实例中的任意位置(而不仅仅是 Paxi 自己的文件夹)加载包的功能已经可用,因为 Paxi 自 1.21 版本起就已支持此功能。将你的包保留在标准的 resourcepacks 文件夹中还能让 Modrinth 识别它们,因此包含这些包的整合包可以获得正确的归属。
要求
Minecraft 1.21.1 或 26.1 至 26.1.2,运行于 NeoForge 或 Fabric,并已安装 Paxi 和 YUNG's API。Paxi 本身已依赖 YUNG's API。请下载与你的加载器匹配的文件:jar 文件名以 -neoforge 或 -fabric 结尾。
许可证
Paxi Extra 遵循 GNU Lesser General Public License v3.0 许可证,与其移植来源的模组相同。完整条款见 LICENSE。
鸣谢
Paxi Extra 是 Lancet_ 制作的 Paxi Plus 的移植版本,并得到了 Fyoncle 的贡献。更名为 Paxi Extra 是为了区分这两个项目。Paxi 本身由 YUNGNICKYOUNG 制作。
Paxi Extra
This is an addon for Paxi, serving five purposes:
- Making it possible to use Paxi for built-in resource packs and data packs added by mods (See #27)
- Restricting Paxi from auto-loading packs in
config -> paxi -> resourcepacks and datapacks if they're not listed in resourcepack_load_order.json or datapack_load_order.json
- Letting Paxi generate the datapack folder and JSON file on start-up instead of after world generation
- Adding a
--user-- flag which lets you decide where your own packs go, handy if you want the packs you picked yourself to sit above the Paxi ones, or anywhere else you like
- Removing the reorder arrows from packs Paxi loads, since the load order decides where those sit and a pack dragged up or down just snaps back
How to use?
Write the packs you want, in the order you want them, and nothing else gets force-loaded:
{
"loadOrder": [
"resourcepacks/my_base_pack.zip",
"mod/somemod",
"--user--",
"resourcepacks/my_overrides.zip"
]
}
Later in the list wins. Anything above --user-- sits under the packs you picked yourself, anything below it sits on top of them. Leave --user-- out and everything stays on top, the way Paxi normally does it.
For the built-in pack support you need the ID of the pack. You can check the mod's source, guess it, or use Resource Pack Overrides and hold D on the resource pack screen to see the IDs of every pack. You can order fabric and mod_resources too, if you want all the mod assets to sit at a particular spot in the stack.
It is NOT required to load fabric and other built-in packs with Paxi, it's there as an optional feature.
Loading packs from anywhere in your instance rather than only Paxi's own folder already works, since Paxi itself has done that since 1.21. Keeping your packs in the normal resourcepacks folder also means Modrinth recognises them, so a modpack that includes them gets credited properly.
Requirements
Minecraft 1.21.1 or 26.1 through 26.1.2, on either NeoForge or Fabric, with Paxi and YUNG's API installed. Paxi already requires YUNG's API. Grab the file matching your loader: the jar name ends in -neoforge or -fabric.
License
Paxi Extra is licensed under the GNU Lesser General Public License v3.0, the same licence as the mod it is ported from. The full terms are in LICENSE.
Credits
Paxi Extra is a port of Paxi Plus by Lancet_, with contributions from Fyoncle, renamed to keep the two projects apart. Paxi itself is by YUNGNICKYOUNG.
评论 0
登录后参与评分
还没有评论,来抢沙发吧