本版本仅适用于 1.20.4 - 1.21.1。NeoForge 版本的此模组已迁移至此。
Paxi 是一款用于全局自动加载数据包和资源包的简易模组。
通常情况下,每个世界都需要单独加载数据包。Paxi 会在你的 Minecraft 配置文件夹中添加一个paxi文件夹,你可以将需要全局自动加载的数据包和资源包放入其中。首次运行 Paxi 时,系统会在你的 Minecraft 配置目录中创建 paxi 文件夹。
在处理全局数据包和资源包方面,Paxi 的功能简洁明了,使其成为整合包制作人员的绝佳工具!
paxi 文件夹内包含一个用于存放数据包的datapacks文件夹。当你首次使用已安装 Paxi 的环境创建或加载世界时,该文件夹会自动为你生成。放入此文件夹中的所有数据包都将在全局范围内自动加载到你所玩的任何世界中——换言之,这是全局加载的数据包!在游戏中,输入 /datapack list 可查看当前加载的所有数据包;由 Paxi 加载的数据包将以粉色文本显示。支持 zip 文件以及常规文件夹(需包含 pack.mcmeta 文件)。
数据包也可以按特定顺序加载!当你首次使用已安装 Paxi 的环境创建或加载世界时,datapack_load_order.json 文件会在 paxi 目录下为你生成。你可以在此 JSON 文件中列出希望按特定顺序加载的数据包文件夹名称(zip 文件需包含 .zip 后缀)。使用此 JSON 文件完全是可选的——未列在文件中的数据包将按正常方式加载(按文件夹/zip 文件名的字母顺序排列,与普通数据包一致)。因此,如果你只有少数几个需要特定加载顺序的数据包,只需在 JSON 文件中列出它们即可!
从 v5.1.3 版本开始,datapack_load_order.json 文件也支持与相对路径配合使用的条目,这意味着你还可以从其他任意文件夹加载数据包。这些相对路径是相对于你的 Minecraft 实例文件夹的基础 .minecraft 目录而言的。例如,如果你想加载位于 .minecraft/datapacks 中的 MyDataPack 资源包,只需在 datapack_load_order.json 中添加条目 "datapacks/MyDataPack" 即可。
此外,从 v5.1.3 版本开始,模组的配置文件中新增了一个名为 Load from base 'datapacks' directory(从基础“datapacks”目录加载)的选项(默认启用)。启用后,.minecraft/datapacks 文件夹中的所有资源包也将被自动加载。此行为与将数据包放置在普通 Paxi 文件夹(.minecraft/config/paxi/datapacks)中完全一致。此项功能旨在支持 CurseForge 即将推出的与 Paxi 集成的数据包功能,届时数据包将自动下载至 .minecraft/datapacks 文件夹。
paxi 文件夹中还包含一个用于存放资源包的 resourcepacks 文件夹。当你首次使用已安装 Paxi 的环境启动游戏时,该文件夹会自动为你生成。放入此文件夹中的所有资源包将在你启动游戏时自动加载。同样支持 zip 文件和常规文件夹(需包含 pack.mcmeta 文件)。注意:专用服务器不支持资源包,因为它们仅影响客户端的游戏体验(如纹理、音效和其他素材)。
与数据包一样,资源包也可以按特定顺序加载!当你首次使用已安装 Paxi 的环境启动游戏时,resourcepack_load_order.json 文件会在 paxi 目录下为你生成。你可以在此 JSON 文件中列出希望按特定顺序加载的资源包文件夹名称(zip 文件需包含 .zip 后缀)。使用此 JSON 文件完全是可选的——未列在文件中的资源包将按正常方式加载(按文件夹/zip 文件名的字母顺序排列,与普通资源包一致)。因此,如果你只有少数几个需要特定加载顺序的资源包,只需在 JSON 文件中列出它们即可!
从 v5.1.3 版本开始,resourcepack_load_order.json 文件也支持与相对路径配合使用的条目,这意味着你还可以从其他任意文件夹加载资源包。这些相对路径是相对于你的 Minecraft 实例文件夹的基础 .minecraft 目录而言的。例如,如果你想加载位于原版 resourcepacks 文件夹中的 MyResourcePack.zip 资源包,只需在 resourcepack_load_order.json 中添加条目 "resourcepacks/MyResourcePack.zip" 即可。
THIS IS FOR 1.20.4 - 1.21.1 ONLY. NEWER VERSIONS OF THIS MOD FOR NEOFORGE HAVE BEEN MOVED TO HERE.
Paxi is a simple mod for global, automatic data and resource packs.
Usually, data packs have to be loaded separately for every world. Paxi adds the paxi folder in your Minecraft config folder, where you can place data and resource packs that will automatically be loaded for every world. The first time you run Paxi, the paxi folder will be created in your Minecraft config directory.
Paxi is as simple as it gets when it comes to global data and resource packs, making it a great utility for modpack creators!
Within the paxi folder is a datapacks folder for data packs. This folder will be created for you the first time you create or load a world with Paxi installed. Any data packs placed in this folder will be automatically loaded into any world you play - in other words, globally loaded data packs! When in game, use /datapack list to see all loaded data packs; packs loaded by Paxi are printed in pink text. Both zip files and regular folders (containing a pack.mcmeta file) are supported.
Data packs can also be loaded in a specific order! The first time you create or load a world with Paxi installed, the datapack_load_order.json file will be created for you in the paxi directory. You can fill this JSON file with a list of data pack folder names (including the .zip for zip files) in the order you want your data packs loaded in. Using this JSON file is entirely optional - any data packs not listed in the file will be loaded normally (alphabetically by folder/zip file name, same as normal data packs). So if you only have a few data packs that require loading in a specific order, you only need to list them in the JSON!
Starting with v5.1.3, the datapack_load_order.json file also supports pack entries with relative pathnames, meaning you can load data packs from any other folder as well. These relative pathnames are relative to the base .minecraft directory of your Minecraft instance folder. For example, if you wanted to load the pack MyDataPack located in .minecraft/datapacks, you can simply add the entry "datapacks/MyDataPack" to your datapack_load_order.json.
Additionally starting with v5.1.3, there is a config option Load from base 'datapacks' directory in the mod's config (enabled by default). When enabled, all packs in the .minecraft/datapacks folder will be automatically loaded as well. This behavior is identical to placing data packs in the normal Paxi folder (.minecraft/config/paxi/datapacks). This has been added to support CurseForge's upcoming data pack integration with Paxi, in which data packs will be automatically downloaded to the .minecraft/datapacks folder.
Also within the paxi folder is a resourcepacks folder for resource packs. This folder will be created for you the first time you run the game with Paxi installed. Any resource packs placed in this folder will be automatically loaded when you start the game. Both zip files and regular folders (containing a pack.mcmeta file) are supported. Resource packs are not supported on dedicated servers, since they only affect the game on the client-side (textures, sounds, and other assets).
Like data packs, resource packs can also be loaded in a specific order! The first time you run the game with Paxi installed, the resourcepack_load_order.json file will be created for you in the paxi directory. You can fill this JSON file with a list of resource pack folder names (including the .zip for zip files) in the order you want your resource packs loaded in. Using this JSON file is entirely optional - any resource packs not listed in the file will be loaded normally (alphabetically by folder/zip file name, same as normal resource packs). So if you only have a few resource packs that require loading in a specific order, you only need to list them in the JSON!
Starting with v5.1.3, the resourcepack_load_order.json file also supports pack entries with relative pathnames, meaning you can load resource packs from any other folder as well. These relative pathnames are relative to the base .minecraft directory of your Minecraft instance folder. For example, if you wanted to load the pack MyResourcePack.zip located in the vanilla resourcepacks folder, you can simply add the entry "resourcepacks/MyResourcePack.zip" to your resourcepack_load_order.json.
评论 0
登录后参与评分
还没有评论,来抢沙发吧