Addons - maybejake/crop-and-kettle GitHub Wiki
Crop & Kettle was specifically designed to be data-driven! As a result, datapacks can add their own recipes to every Crop & Kettle block, as well as pages to both the cookbook and distiller book.
The process is relatively simple and I have produced an example addon to better explain how to do it. Every function has comments explaining its purpose, but if you have any questions then open an issue! If you see me around on Discord, I'll be more than happy to offer assistance, just ask!
The example addon below adds new recipes to every block:
- Purple dye made from blue and red dye in the mixing bowl
- Black concrete made from water and black concrete powder in the mixing bowl
- Healing Potion made from water, nether wart and glistering melon in the distiller
- Stripped oak logs made from oak logs on the cutting board
- Pumpkin pie made from pumpkin, sugar and egg in the cooking pot
All of the above recipes also have their own page in either the cookbook or distiller book.
Do note that all Crop & Kettle recipes take precendent over any added by an addon. This means that if your recipe has the same ingredients as one added by Crop & Kettle, it will not work.
Both the datapack and resourcepack can be found in the repository.
Helper Script
Are you sick of adding transparent backgrounds to all your textures? There's a helper script! It's written in Python and is in the repository.
Please read its README.md for a guide on how to use it!
A more complicated version of this script exists that handles everything, using a yaml file to read in recipes. However, its is an absolute mess and is specifically hard-coded to work for Crop & Kettle recipes. However, I may convert this into a beet/bolt library for convenience of developers in the future!