
Currently, this mod provides LibDP and KubeJS Fabric support for all Botania recipe types. Check out the git Wiki for more examples and syntax.
LibDP example: adding Mana Infusion recipes
var BT = diskette.require("botaniatweaker.BotaniaDriver");
BT.addManaInfusion("ore_quintuplication", "minecraft:gold_ingot*5", "minecraft:gold_ore", 99999, 'minecraft:blast_furnace')
KubeJS example: adding Petal Apothecary recipes
event.recipes.botania.petal_apothecary('precious_glay', 'minecraft:clay_ball', ['minecraft:iron_ingot', 'minecraft:gold_ingot'])
Yes, I know that Botania isn't publicly available on Fabric yet. Get your own.