events.listen('recipes', function (event) {
    //event.custom({
    //    type: "botanypots:crop",
    //    seed: {"item":"mysticalagriculture:antimatter_seeds"},
    //    categories: ["Farmland_t6"],
    //    growthTicks: 7200,
    //    display: {"block":"mysticalagriculture:antimatter_crop"},
    //    results: [{"chance":0.05,"output":{"item":"mysticalagriculture:antimatter_essence"},"minRolls":0,"maxRolls":1}
    //    ],
    //  })
    //
    //  event.custom({
    //    type: "botanypots:crop",
    //    seed: {"item":"mysticalagriculture:atmstar_seeds"},
    //    categories: ["Farmland_t6"],
    //    growthTicks: 7200,
    //    display: {"block":"mysticalagriculture:atmstar_crop"},
    //    results: [
    //        {"chance":0.05,"output":{"item":"mysticalagriculture:atmstar_essence"},"minRolls":0,"maxRolls":1},
    //    ],
    //  })

      function seedPot2(seed, categorie, growth) {
        event.remove({ id: "mysticalagriculture:crops/" + seed })
        event.custom({
            "type": "botanypots:crop",
            "seed": { "item": "mysticalagriculture:" + seed + "_seeds" },
            "categories": [categorie],
            "growthTicks": growth,
            "display": { "block": "mysticalagriculture:" + seed + "_crop", "properties": { "age": 7 } },
            "results": [
                {
                    "chance": 0.05, "minRolls": 0, "maxRolls": 1,
                    "output": { "item": "mysticalagriculture:" + seed + "_essence", "count": 1 }
                },
                {
                    "chance": 0.1, "minRolls": 0, "maxRolls": 1,
                    "output": { "item": "mysticalagriculture:fertilized_essence", "count": 1 }
                }]
        })
    }

    var seedC = ["antimatter", "atmstar"]
    seedC.forEach(S => { seedPot2(S, "Farmland_t6", 5000)})
    })