Recipe Manipulator 是一个非常轻量的模组(仅含 1 个类文件),可用于添加或移除(Forge 允许时可用)原版合成台中的配方。
它使用 Minecraft 1.12 引入的 Forge/Minecraft 配方 JSON 格式。除 Forge 外,无需任何其他依赖项。
添加配方
该模组可与任何有效的 Minecraft 或 Minecraft Forge 配方配合使用。(注意:无效配方会导致游戏崩溃,因此在报告错误前请先阅读日志!)为了防止不匹配,客户端和服务端的配方必须完全一致。
当模组首次加载时,会在 Minecraft 的运行目录中创建一个名为 "recipes" 的文件夹。在此处你可以放置你的配方 JSON 文件,参见下方的示例:
基础示例
高级示例:
Refined Storage 提供了一些关于如何使用 Forge 提供的更高级功能的优秀示例,你可以在下方查看 Refined Storage 的示例:
Refined Storage 示例
你安装的一些模组也可能使用这种 JSON 格式来添加配方,因此你总是可以在 GitHub 上或在模组的 jar 文件中查找更多示例。
移除配方
移除配方的操作相当基础,但应能涵盖大多数情况。下方的示例应能提供足够的信息来说明如何操作。
配方移除示例
更多信息
也可以使用子目录来拆分文件。(注意 __constants.json 文件是按目录区分的)
如果你需要帮助或只是想聊聊天,请加入我们的 Discord 服务器!
Recipe Manipulator is a very light weight mod (1 class file) that can be used to add or remove (Coming when forge allows for it) recipes from the vanilla crafting table.
It uses the forge/minecraft recipe json format introduced with minecraft 1.12. It does not require any extra dependencies other than Forge.
Adding recipes
The mod will work just fine with any valid minecraft or minecraft forge recipe. (Note the game will crash with invalid recipes, so read the log before reporting a bug!) The recipes must be identical on the client and the server to prevent mismatch.
When the mod first loads its creates a "recipes" folder in the run directory of minecraft. In here you can place your recipe json files, see an example bellow:
Basic example
Advanced examples:
Refined storage provides some great examples on how to use some of the more advanced features that forge provides, you can see Refined Storage's examples bellow:
Refined Storage Examples
Some mods you have installed may also use this json format for adding recipes, so you can always look on github or in the mod jar for even more examples.
Removing recipes
Removing recipes is quite basic, but it should cover most cases. The example bellow should provided enough information on how to do it.
Recipe Removal example
More info
Sub directory's can also be used to split the files up. (Note the __constants.json file is per directory)
Join our discord server if you want some help, or just want to have a chat!
评论 0
登录后参与评分
还没有评论,来抢沙发吧