events.listen('recipes', function (event) {
  //function seedPot(seed, categorie, growth) {
  //event.custom({
  //  type: "botanypots:crop",
  //  seed: {"tag": "minecraft:" + seed + "_seeds"},
  //  categories: ["categorie"],
  //  growthTicks: ["growth"],
  //  display: {"block":"minecraft:" + seed},
  //  results: [{"chance":1,"output":{"item":"minecraft:" + seed},"minRolls":1,"maxRolls":1}
  //  ],
  //  var: seed = ["melon", "wheat", "pumpkin", "beetroot"],
  //  seed:forEach(seed) = seedPot(seed = "seed",categorie = "Farmland_all", growth = 1200) })}
  //})
  event.custom({
    type: "botanypots:crop",
    seed: {"tag":"forge:seeds/melon"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:melon"},
    results: [{"chance":1,"output":{"item":"minecraft:melon"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"tag":"forge:seeds/wheat"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:wheat"},
    results: [{"chance":1,"output":{"item":"minecraft:wheat"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"tag":"forge:seeds/pumpkin"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:pumpkin"},
    results: [{"chance":1,"output":{"item":"minecraft:pumpkin"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"tag":"forge:seeds/beetroot"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:beetroots","properties":{"age":3}},
    results: [{"chance":1,"output":{"item":"minecraft:beetroot"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"item":"minecraft:potato"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:potatoes","properties":{"age":7}},
    results: [{"chance":1,"output":{"item":"minecraft:potato"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"item":"minecraft:carrot"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:carrots","properties":{"age":7}},
    results: [{"chance":1,"output":{"item":"minecraft:carrot"},"minRolls":1,"maxRolls":1}
    ],
  })

  event.custom({
    type: "botanypots:crop",
    seed: {"item":"minecraft:sugar_cane"},
    categories: ["Farmland_all"],
    growthTicks: 1800,
    display: {"block":"minecraft:sugar_cane"},
    results: [{"chance":1,"output":{"item":"minecraft:sugar_cane"},"minRolls":1,"maxRolls":1}
    ],
  })
})