跳到正文

Research Lab

作者:TorranTR

用于解锁研究模式和蓝图的实验室

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Summary

This mod aims to assist mod creators in adding add functionality into their modpacks. It adds a research table that can be used to input items, that become “research” and output a result that the players can use to unlock other crafting recipes. Much like a blueprint or a schematic.


Instructions for Use

1. Folder Structure

To add your own research recipes, place them in the following folder path inside your modpack:

  • modpack_name
    • data
      • researchlab
        • recipes

2. JSON Recipe Structure

For each custom recipe, they will need to be contained in their own individual JSON file, and can be named anything you like. The key/value pairs are as follows:

  • type: must be “researchlab:writing_theory”
  • catalyst: an object with a known item “mod_id:item_name” and a count of how many are required to initiate the minigame
  • difficulty: a decimal value indicating the speed at which the minigame plays out
  • thoughts: a list of strings that will be included in the minigame
  • award: an object with a known item “mod_id:item_name” and a count of how many will be received upon winning the minigame

The following structure is an example of what you will need for your custom recipes: json { "type": "researchlab:writing_theory", "catalyst": { "id": "minecraft:leather", "count": 1 }, "difficulty": 1.0, "thoughts": [ "decay", "rot" ], "award": { "id": "minecraft:rotten_flesh", "count": 1 } }

Note

Once you boot up the game, the system will automatically recognize the catalysts in each of your custom recipes, and will allow you to place those types of items in the research table. Any item that is not found in a researchlab recipe will give you a message that it isn’t a research item.

By default there is a recipe to turn leather into rotten_flesh. A config to disable this will be removed in future versions.

Acknowledgements

Special thanks to crazy2fou for his contribution to the model textures!

常见问题

Research Lab 支持哪些 Minecraft 版本?

Research Lab 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Research Lab 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

TorranTR 的其他作品

查看全部 →