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

    // Vanilla
    e.remove({ id: 'immersiveengineering:cloche/wheat' })
    gardenvanilla('minecraft:wheat', 1, 'minecraft:wheat_seeds', 'minecraft:dirt', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 2, 'minecraft:wheat_seeds', 'mysticalagriculture:inferium_farmland', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 3, 'minecraft:wheat_seeds', 'mysticalagriculture:prudentium_farmland', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 4, 'minecraft:wheat_seeds', 'mysticalagriculture:tertium_farmland', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 5, 'minecraft:wheat_seeds', 'mysticalagriculture:imperium_farmland', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 6, 'minecraft:wheat_seeds', 'mysticalagriculture:supremium_farmland', 'crop', 'minecraft:wheat')
    gardenvanilla('minecraft:wheat', 7, 'minecraft:wheat_seeds', 'mysticalagradditions:insanium_farmland', 'crop', 'minecraft:wheat')

    e.remove({ id: 'immersiveengineering:cloche/sweet_berries' })
    gardenvanilla('minecraft:sweet_berries', 1, 'minecraft:sweet_berries', 'minecraft:dirt', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 2, 'minecraft:sweet_berries', 'mysticalagriculture:inferium_farmland', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 3, 'minecraft:sweet_berries', 'mysticalagriculture:prudentium_farmland', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 4, 'minecraft:sweet_berries', 'mysticalagriculture:tertium_farmland', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 5, 'minecraft:sweet_berries', 'mysticalagriculture:imperium_farmland', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 6, 'minecraft:sweet_berries', 'mysticalagriculture:supremium_farmland', 'crop', 'minecraft:sweet_berry_bush')
    gardenvanilla('minecraft:sweet_berries', 7, 'minecraft:sweet_berries', 'mysticalagradditions:insanium_farmland', 'crop', 'minecraft:sweet_berry_bush')

    e.remove({ id: 'immersiveengineering:cloche/sugar_cane' })
    gardenvanilla('minecraft:sugar_cane', 1, 'minecraft:sugar_cane', 'minecraft:sand', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 2, 'minecraft:sugar_cane', 'snad:snad', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 3, 'minecraft:sugar_cane', 'chromasky:1x_compressed_sand', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 4, 'minecraft:sugar_cane', 'chromasky:2x_compressed_sand', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 5, 'minecraft:sugar_cane', 'chromasky:3x_compressed_sand', 'stacking', 'minecraft:sugar_cane')

    e.remove({ id: 'immersiveengineering:cloche/cactus' })
    gardenvanilla('minecraft:cactus', 1, 'minecraft:cactus', 'minecraft:sand', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 2, 'minecraft:cactus', 'snad:snad', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 3, 'minecraft:cactus', 'chromasky:1x_compressed_sand', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 4, 'minecraft:cactus', 'chromasky:2x_compressed_sand', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 5, 'minecraft:cactus', 'chromasky:3x_compressed_sand', 'stacking', 'minecraft:cactus')

    e.remove({ id: 'immersiveengineering:cloche/bamboo' })
    gardenvanilla('minecraft:bamboo', 1, 'minecraft:bamboo', 'minecraft:dirt', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 2, 'minecraft:bamboo', 'mysticalagriculture:inferium_farmland', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 3, 'minecraft:bamboo', 'mysticalagriculture:prudentium_farmland', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 4, 'minecraft:bamboo', 'mysticalagriculture:tertium_farmland', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 5, 'minecraft:bamboo', 'mysticalagriculture:imperium_farmland', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 6, 'minecraft:bamboo', 'mysticalagriculture:supremium_farmland', 'stacking', 'minecraft:bamboo')
    gardenvanilla('minecraft:bamboo', 7, 'minecraft:bamboo', 'mysticalagradditions:insanium_farmland', 'stacking', 'minecraft:bamboo')

    e.remove({ id: 'immersiveengineering:cloche/beetroot' })
    gardenvanilla('minecraft:beetroot', 1, 'minecraft:beetroot_seeds', 'minecraft:dirt', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 2, 'minecraft:beetroot_seeds', 'mysticalagriculture:inferium_farmland', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 3, 'minecraft:beetroot_seeds', 'mysticalagriculture:prudentium_farmland', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 4, 'minecraft:beetroot_seeds', 'mysticalagriculture:tertium_farmland', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 5, 'minecraft:beetroot_seeds', 'mysticalagriculture:imperium_farmland', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 6, 'minecraft:beetroot_seeds', 'mysticalagriculture:supremium_farmland', 'crop', 'minecraft:beetroots')
    gardenvanilla('minecraft:beetroot', 7, 'minecraft:beetroot_seeds', 'mysticalagradditions:insanium_farmland', 'crop', 'minecraft:beetroots')

    e.remove({ id: 'immersiveengineering:cloche/brown_mushroom' })
    gardenvanilla('minecraft:brown_mushroom', 1, 'minecraft:brown_mushroom', 'minecraft:dirt', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 2, 'minecraft:brown_mushroom', 'mysticalagriculture:inferium_farmland', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 3, 'minecraft:brown_mushroom', 'mysticalagriculture:prudentium_farmland', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 4, 'minecraft:brown_mushroom', 'mysticalagriculture:tertium_farmland', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 5, 'minecraft:brown_mushroom', 'mysticalagriculture:imperium_farmland', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 6, 'minecraft:brown_mushroom', 'mysticalagriculture:supremium_farmland', 'generic', 'minecraft:brown_mushroom')
    gardenvanilla('minecraft:brown_mushroom', 7, 'minecraft:brown_mushroom', 'mysticalagradditions:insanium_farmland', 'generic', 'minecraft:brown_mushroom')

    e.remove({ id: 'immersiveengineering:cloche/red_mushroom' })
    gardenvanilla('minecraft:red_mushroom', 1, 'minecraft:red_mushroom', 'minecraft:dirt', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 2, 'minecraft:red_mushroom', 'mysticalagriculture:inferium_farmland', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 3, 'minecraft:red_mushroom', 'mysticalagriculture:prudentium_farmland', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 4, 'minecraft:red_mushroom', 'mysticalagriculture:tertium_farmland', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 5, 'minecraft:red_mushroom', 'mysticalagriculture:imperium_farmland', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 6, 'minecraft:red_mushroom', 'mysticalagriculture:supremium_farmland', 'generic', 'minecraft:red_mushroom')
    gardenvanilla('minecraft:red_mushroom', 7, 'minecraft:red_mushroom', 'mysticalagradditions:insanium_farmland', 'generic', 'minecraft:red_mushroom')

    e.remove({ id: 'immersiveengineering:cloche/carrot' })
    gardenvanilla('minecraft:carrot', 1, 'minecraft:carrot', 'minecraft:dirt', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 2, 'minecraft:carrot', 'mysticalagriculture:inferium_farmland', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 3, 'minecraft:carrot', 'mysticalagriculture:prudentium_farmland', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 4, 'minecraft:carrot', 'mysticalagriculture:tertium_farmland', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 5, 'minecraft:carrot', 'mysticalagriculture:imperium_farmland', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 6, 'minecraft:carrot', 'mysticalagriculture:supremium_farmland', 'crop', 'minecraft:carrots')
    gardenvanilla('minecraft:carrot', 7, 'minecraft:carrot', 'mysticalagradditions:insanium_farmland', 'crop', 'minecraft:carrots')

    e.remove({ id: 'immersiveengineering:cloche/potato' })
    gardenvanilla('minecraft:potato', 1, 'minecraft:potato', 'minecraft:dirt', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 2, 'minecraft:potato', 'mysticalagriculture:inferium_farmland', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 3, 'minecraft:potato', 'mysticalagriculture:prudentium_farmland', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 4, 'minecraft:potato', 'mysticalagriculture:tertium_farmland', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 5, 'minecraft:potato', 'mysticalagriculture:imperium_farmland', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 6, 'minecraft:potato', 'mysticalagriculture:supremium_farmland', 'crop', 'minecraft:potatoes')
    gardenvanilla('minecraft:potato', 7, 'minecraft:potato', 'mysticalagradditions:insanium_farmland', 'crop', 'minecraft:potatoes')

    gardenvanilla('minecraft:ender_pearl', 1, 'miniutilities:ender_lily_seeds', 'chromasky:1x_compressed_endstone', 'generic', 'miniutilities:ender_lily_block')
    gardenvanilla('minecraft:ender_pearl', 2, 'miniutilities:ender_lily_seeds', 'chromasky:2x_compressed_endstone', 'generic', 'miniutilities:ender_lily_block')
    gardenvanilla('minecraft:ender_pearl', 3, 'miniutilities:ender_lily_seeds', 'chromasky:3x_compressed_endstone', 'generic', 'miniutilities:ender_lily_block')

    gardenvanilla('miniutilities:flame_lily', 1, 'miniutilities:flame_lily_seeds', 'chromasky:1x_compressed_netherrack', 'generic', 'miniutilities:flame_lily_block')
    gardenvanilla('miniutilities:flame_lily', 2, 'miniutilities:flame_lily_seeds', 'chromasky:2x_compressed_netherrack', 'generic', 'miniutilities:flame_lily_block')
    gardenvanilla('miniutilities:flame_lily', 3, 'miniutilities:flame_lily_seeds', 'chromasky:3x_compressed_netherrack', 'generic', 'miniutilities:flame_lily_block')

    e.remove({ id: 'immersiveengineering:cloche/pumpkin' })
    gardenvanilla('minecraft:pumpkin', 1, 'minecraft:pumpkin_seeds', 'minecraft:dirt', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 2, 'minecraft:pumpkin_seeds', 'mysticalagriculture:inferium_farmland', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 3, 'minecraft:pumpkin_seeds', 'mysticalagriculture:prudentium_farmland', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 4, 'minecraft:pumpkin_seeds', 'mysticalagriculture:tertium_farmland', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 5, 'minecraft:pumpkin_seeds', 'mysticalagriculture:imperium_farmland', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 6, 'minecraft:pumpkin_seeds', 'mysticalagriculture:supremium_farmland', 'stem', 'minecraft:pumpkin')
    gardenvanilla('minecraft:pumpkin', 7, 'minecraft:pumpkin_seeds', 'mysticalagradditions:insanium_farmland', 'stem', 'minecraft:pumpkin')

    e.remove({ id: 'immersiveengineering:cloche/melon' })
    gardenvanilla('minecraft:melon', 1, 'minecraft:melon_seeds', 'minecraft:dirt', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 2, 'minecraft:melon_seeds', 'mysticalagriculture:inferium_farmland', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 3, 'minecraft:melon_seeds', 'mysticalagriculture:prudentium_farmland', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 4, 'minecraft:melon_seeds', 'mysticalagriculture:tertium_farmland', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 5, 'minecraft:melon_seeds', 'mysticalagriculture:imperium_farmland', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 6, 'minecraft:melon_seeds', 'mysticalagriculture:supremium_farmland', 'stem', 'minecraft:melon')
    gardenvanilla('minecraft:melon', 7, 'minecraft:melon_seeds', 'mysticalagradditions:insanium_farmland', 'stem', 'minecraft:melon')

    e.remove({ id: 'immersiveengineering:cloche/chorus_fruit' })
    gardenvanilla('minecraft:chorus_fruit', 1, 'minecraft:chorus_flower', 'minecraft:end_stone', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 2, 'minecraft:chorus_flower', 'chromasky:1x_compressed_endstone', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 3, 'minecraft:chorus_flower', 'chromasky:2x_compressed_endstone', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 4, 'minecraft:chorus_flower', 'chromasky:3x_compressed_endstone', 'chorus', 'minecraft:chorus_flower')

    e.remove({ id: 'immersiveengineering:cloche/hemp' })
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 1, 1, 'immersiveengineering:seed', 'minecraft:dirt', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 2, 2, 'immersiveengineering:seed', 'mysticalagriculture:inferium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 3, 3, 'immersiveengineering:seed', 'mysticalagriculture:prudentium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 4, 4, 'immersiveengineering:seed', 'mysticalagriculture:tertium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 5, 5, 'immersiveengineering:seed', 'mysticalagriculture:imperium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 6, 6, 'immersiveengineering:seed', 'mysticalagriculture:supremium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla2('immersiveengineering:hemp_fiber', 'immersiveengineering:seed', 7, 7, 'immersiveengineering:seed', 'mysticalagradditions:insanium_farmland', 'hemp', 'immersiveengineering:hemp')

    e.remove({ id: 'immersiveengineering:cloche/nether_warp' })
    gardenvanilla('minecraft:nether_wart', 1, 'minecraft:nether_wart', 'minecraft:soul_sand', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 2, 'minecraft:nether_wart', 'snad:soul_snad', 'crop', 'minecraft:nether_wart')

    function gardenvanilla(result, qte, input, soil, type, block){e.custom({"type":"immersiveengineering:cloche","results":[{"item":result,"count":qte}],"input":{"item":input},"soil":{"item" : soil},"time":200,"render":{"type":type,"block": block}})}
    function gardenvanilla2(result1, result2, qte1, qte2, input, soil, type, block){e.custom({"type":"immersiveengineering:cloche","results":[{"item":result1,"count":qte1}, {"item":result2,"count":qte2}],"input":{"item":input},"soil":{"item" : soil},"time":200,"render":{"type":type,"block": block}})}

    // Mystical
    function gardenma(crop, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:"+crop+"_seeds" }, "soil": { "item": soil }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:"+crop+"_crop" }, "results": [{ "item": "mysticalagriculture:"+crop+"_essence", "count": qte },{"item":"mysticalagriculture:fertilized_essence","count":1}]})}
    var crop = ["air", "earth", "water", "fire", "inferium", "stone", "dirt", "wood", "ice","nature", "dye", "nether", "coal", "coral", "honey", "pig", "chicken", "cow", "sheep", "squid", "fish", "slime", "turtle", "rubber", "silicon", "sulfur", "aluminum", "copper", "saltpeter", "mystical_flower", "apatite", "marble", "limestone", "basalt","iron", "nether_quartz", "glowstone", "redstone", "obsidian", "prismarine", "zombie", "skeleton", "creeper", "spider", "rabbit", "tin", "bronze", "silver", "lead", "graphite", "blizz", "blitz", "basalz", "manasteel", "ender_biotite", "aquamarine", "rose_gold", "slimesteel", "pig_iron", "tinkers_bronze", "quartz_enriched_iron", "gold", "lapis_lazuli", "end", "experience", "blaze", "ghast", "enderman", "steel", "nickel", "constantan", "electrum", "invar", "uranium", "signalum", "lumium", "hop_graphite", "osmium", "refined_glowstone", "refined_obsidian", "starmetal", "energized_steel", "blazing_crystal", "fluorite", "knightmetal", "cobalt", "hepatizon", "sapphire", "ruby","diamond", "emerald", "netherite", "wither_skeleton", "platinum", "enderium", "rock_crystal", "niotic_crystal", "spirited_crystal", "uraninite", "manyullyn", "queens_slime", "draconium"]
    crop.forEach(C => { gardenma(C, "minecraft:dirt", 1) })
    crop.forEach(C => { gardenma(C, "mysticalagriculture:inferium_farmland", 2) })
    crop.forEach(C => { gardenma(C, "mysticalagriculture:prudentium_farmland", 3) })
    crop.forEach(C => { gardenma(C, "mysticalagriculture:tertium_farmland", 4) })
    crop.forEach(C => { gardenma(C, "mysticalagriculture:imperium_farmland", 5) })
    crop.forEach(C => { gardenma(C, "mysticalagriculture:supremium_farmland", 6) })
    crop.forEach(C => { gardenma(C, "mysticalagradditions:insanium_farmland", 7) })

    //Nether Star
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:nether_star_seeds" }, "soil": { "item": "mysticalagradditions:nether_star_crux" }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:nether_star_crop" }, "results": [{ "item": "mysticalagriculture:nether_star_essence", "count": 2 },{"item":"mysticalagriculture:fertilized_essence","count":1}]
    })
    //Dragon Egg
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:dragon_egg_seeds" }, "soil": { "item": "mysticalagradditions:dragon_egg_crux" }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:dragon_egg_crop" }, "results": [{ "item": "mysticalagriculture:dragon_egg_essence", "count": 2 },{"item":"mysticalagriculture:fertilized_essence","count":1}]
    })
    //Nitro Crystal
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:nitro_crystal_seeds" }, "soil": { "item": "mysticalagradditions:nitro_crystal_crux" }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:nitro_crystal_crop" }, "results": [{ "item": "mysticalagriculture:nitro_crystal_essence", "count": 2 },{"item":"mysticalagriculture:fertilized_essence","count":1}]
    })
    //Awakened Draconium
    e.custom({
      "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:awakened_draconium_seeds" }, "soil": { "item": "mysticalagradditions:awakened_draconium_crux" }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:awakened_draconium_crop" }, "results": [{ "item": "mysticalagriculture:awakened_draconium_essence", "count": 2 },{"item":"mysticalagriculture:fertilized_essence","count":1}]
    })
    //Chaos
    e.custom({
      "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:chaos_seeds" }, "soil": { "item": "chromasky:chaos_crux" }, "time": 400, "render": { "type": "crop", "block": "mysticalagriculture:chaos_crop" }, "results": [{ "item": "mysticalagriculture:chaos_essence", "count": 2 },{"item":"mysticalagriculture:fertilized_essence","count":1}]
    })

    // Thermal
    function gardenthermal(crop, render, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "thermal:"+crop+"_seeds" }, "soil": { "item": soil }, "time": 200, "render": { "type": render, "block": "thermal:"+crop+"" }, "results": [{ "item": "thermal:"+crop+"", "count": qte }]})}
    var crop = ["radish", "onion", "corn", "tomato", "strawberry", "barley", "green_bean", "eggplant", "peanut", "bell_pepper", "spinach", "sadiroot", "rice", "tea", "coffee"]
    crop.forEach(C => { gardenthermal(C, "crop", "minecraft:dirt", 1) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagriculture:inferium_farmland", 2) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagriculture:prudentium_farmland", 3) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagriculture:tertium_farmland", 4) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagriculture:imperium_farmland", 5) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagriculture:supremium_farmland", 6) })
    crop.forEach(C => { gardenthermal(C, "crop", "mysticalagradditions:insanium_farmland", 7) })
    var stem = ["frost_melon"]
    stem.forEach(C => { gardenthermal(C, "stem", "minecraft:dirt", 1) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagriculture:inferium_farmland", 2) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagriculture:prudentium_farmland", 3) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagriculture:tertium_farmland", 4) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagriculture:imperium_farmland", 5) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagriculture:supremium_farmland", 6) })
    stem.forEach(C => { gardenthermal(C, "stem", "mysticalagradditions:insanium_farmland", 7) })

    // Pams
    function gardenpam(crop, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "pamhc2crops:"+crop+"seeditem" }, "soil": { "item": soil }, "time": 400, "render": { "type": "crop","block": "pamhc2crops:pam"+crop+"crop" }, "results": [{ "item": "pamhc2crops:"+crop+"item", "count": qte }]})}
    var crop = ["agave", "amaranth", "arrowroot", "artichoke", "asparagus", "barley", "bean", "bellpepper", "blackberry", "blueberry", "broccoli", "brusselsprout", "cabbage", "cactusfruit", "candleberry", "cantaloupe", "cassava", "cauliflower", "celery", "chickpea", "chilipepper", "coffeebean", "corn", "cotton", "cranberry", "cucumber", "eggplant", "elderberry", "flax", "garlic", "ginger", "grape", "greengrape", "huckleberry", "jicama", "juniperberry", "jute", "kale", "kenaf", "kiwi", "kohlrabi", "leek", "lentil", "lettuce", "millet", "mulberry", "mustardseeds", "oats", "okra", "onion", "parsnip", "peanut", "peas", "pineapple", "quinoa", "radish", "raspberry", "rhubarb", "rice", "rutabaga", "rye", "scallion", "sesameseeds", "sisal", "soybean", "spiceleaf", "spinach", "strawberry", "sweetpotato", "taro", "tealeaf", "tomatillo", "tomato", "turnip", "waterchestnut", "whitemushroom", "wintersquash", "zucchini"]
    crop.forEach(C => { gardenpam(C, "minecraft:dirt", 1) })
    crop.forEach(C => { gardenpam(C, "mysticalagriculture:inferium_farmland", 2) })
    crop.forEach(C => { gardenpam(C, "mysticalagriculture:prudentium_farmland", 3) })
    crop.forEach(C => { gardenpam(C, "mysticalagriculture:tertium_farmland", 4) })
    crop.forEach(C => { gardenpam(C, "mysticalagriculture:imperium_farmland", 5) })
    crop.forEach(C => { gardenpam(C, "mysticalagriculture:supremium_farmland", 6) })
    crop.forEach(C => { gardenpam(C, "mysticalagradditions:insanium_farmland", 7) })

})
