onEvent('recipes', (event) => {
    event.shapeless('1x mysticalagriculture:inferium_farmland', ['mysticalagriculture:inferium_essence', 'minecraft:farmland'])

    event.shapeless('1x mysticalagriculture:prudentium_farmland', ['mysticalagriculture:prudentium_essence', 'mysticalagriculture:inferium_farmland'])

    event.shapeless('1x mysticalagriculture:tertium_farmland', ['mysticalagriculture:tertium_essence', 'mysticalagriculture:prudentium_farmland'])

    event.shapeless('1x mysticalagriculture:imperium_farmland', ['mysticalagriculture:imperium_essence', 'mysticalagriculture:tertium_farmland'])

    event.shapeless('1x mysticalagriculture:supremium_farmland', ['mysticalagriculture:supremium_essence', 'mysticalagriculture:imperium_farmland'])

    event.shapeless('1x mysticalagradditions:insanium_farmland', ['mysticalagradditions:insanium_essence', 'mysticalagriculture:supremium_farmland'])

    
})

events.listen('recipes', function (event) {

    //function makeSoil(input, name, categories, growthModifier) {
    //    e.recipes.botanypots.soil({
    //      input: { item: input },
    //      display: { block: input },
    //      categories: categories,
    //      growthModifier: growthModifier
    //    }).id(`kubejs:magical_soil`)
    //  }

    //makeSoil('kubejs:magical_soil', 'magical_soil', ['dirt', 'farmland', 'inferium', 'prudentium', 'tertium', 'imperium', 'supremium', 'insanium', 'magical'], 0.90)
    
    
    //function magicalSeed (input, output){
    //    event.custom({"type": "mysticalagriculture:infusion","input": { "item": "mysticalagradditions:insanium_ingot_block" },"ingredients": [{"item": input},{"item": "mysticalagradditions:insanium_essence"},{"item": input},{"item": "mysticalagradditions:insanium_essence"},{"item": input},{"item": "mysticalagradditions:insanium_essence"},{"item": input},{"item": "mysticalagradditions:insanium_essence"}],"result": {"item": output, "count": 1}})}

    //magicalSeed('mysticalagradditions:insanium_gem_block', 'mysticalagradditions:creative_essence', 'kubejs:magical_soil')
})