Description
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
- researchlab
- data
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": { "item": "minecraft:leather", "count": 1 }, "difficulty": 1.0, "thoughts": [ "decay", "rot" ], "award": { "item": "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!


