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

//Garden Cloche
  e.remove({ id: 'immersiveengineering:crafting/cloche' })
  e.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "tier": 1,
      "pattern": ["ABA", "ACA", "DED"],
      "key": {
        "A": { "item": "thermal:enderium_glass" },
        "B": { "item": "mekanism:basic_energy_cube" },
        "C": { "tag": "botanypots:hopper_botany_pots" },
        "D": { "item": "immersiveengineering:treated_scaffold" },
        "E": { "item": "mekanism:advanced_fluid_tank" }
      },
      "result": { "item": "immersiveengineering:cloche", "count": 1 }
    }
  )
    /*********************************** 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')
    gardenvanilla('minecraft:wheat', 8, 'minecraft:wheat_seeds', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:sweet_berries', 8, 'minecraft:sweet_berries', 'forbidden_arcanus:magical_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', 'compressium:sand_1', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 3, 'minecraft:sugar_cane', 'compressium:sand_2', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 4, 'minecraft:sugar_cane', 'compressium:sand_3', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 5, 'minecraft:sugar_cane', 'compressium:sand_4', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 6, 'minecraft:sugar_cane', 'compressium:sand_5', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 7, 'minecraft:sugar_cane', 'compressium:sand_6', 'stacking', 'minecraft:sugar_cane')
    gardenvanilla('minecraft:sugar_cane', 8, 'minecraft:sugar_cane', 'compressium:sand_7', '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', 'compressium:sand_1', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 3, 'minecraft:cactus', 'compressium:sand_2', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 4, 'minecraft:cactus', 'compressium:sand_3', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 5, 'minecraft:cactus', 'compressium:sand_4', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 6, 'minecraft:cactus', 'compressium:sand_5', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 7, 'minecraft:cactus', 'compressium:sand_6', 'stacking', 'minecraft:cactus')
    gardenvanilla('minecraft:cactus', 8, 'minecraft:cactus', 'compressium:sand_7', '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')
    gardenvanilla('minecraft:bamboo', 8, 'minecraft:bamboo', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:beetroot', 8, 'minecraft:beetroot_seeds', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:brown_mushroom', 8, 'minecraft:brown_mushroom', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:red_mushroom', 8, 'minecraft:red_mushroom', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:carrot', 8, 'minecraft:carrot', 'forbidden_arcanus:magical_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:potato', 8, 'minecraft:potato', 'forbidden_arcanus:magical_farmland', 'crop', 'minecraft:potatoes')
    
    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')
    gardenvanilla('minecraft:pumpkin', 8, 'minecraft:pumpkin_seeds', 'forbidden_arcanus:magical_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')
    gardenvanilla('minecraft:melon', 8, 'minecraft:melon_seeds', 'forbidden_arcanus:magical_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', 'compressium:endstone_1', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 3, 'minecraft:chorus_flower', 'compressium:endstone_2', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 4, 'minecraft:chorus_flower', 'compressium:endstone_3', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 5, 'minecraft:chorus_flower', 'compressium:endstone_4', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 6, 'minecraft:chorus_flower', 'compressium:endstone_5', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 7, 'minecraft:chorus_flower', 'compressium:endstone_6', 'chorus', 'minecraft:chorus_flower')
    gardenvanilla('minecraft:chorus_fruit', 8, 'minecraft:chorus_flower', 'compressium:endstone_7', 'chorus', 'minecraft:chorus_flower')
    
    e.remove({ id: 'immersiveengineering:cloche/hemp' })
    gardenvanilla('immersiveengineering:hemp_fiber', 1, 'immersiveengineering:seed', 'minecraft:dirt', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 2, 'immersiveengineering:seed', 'mysticalagriculture:inferium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 3, 'immersiveengineering:seed', 'mysticalagriculture:prudentium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 4, 'immersiveengineering:seed', 'mysticalagriculture:tertium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 5, 'immersiveengineering:seed', 'mysticalagriculture:imperium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 6, 'immersiveengineering:seed', 'mysticalagriculture:supremium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 7, 'immersiveengineering:seed', 'mysticalagradditions:insanium_farmland', 'hemp', 'immersiveengineering:hemp')
    gardenvanilla('immersiveengineering:hemp_fiber', 8, 'immersiveengineering:seed', 'forbidden_arcanus:magical_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', 'compressium:soulsand_1', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 3, 'minecraft:nether_wart', 'compressium:soulsand_2', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 4, 'minecraft:nether_wart', 'compressium:soulsand_3', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 5, 'minecraft:nether_wart', 'compressium:soulsand_4', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 6, 'minecraft:nether_wart', 'compressium:soulsand_5', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 7, 'minecraft:nether_wart', 'compressium:soulsand_6', 'crop', 'minecraft:nether_wart')
    gardenvanilla('minecraft:nether_wart', 8, 'minecraft:nether_wart', 'compressium:soulsand_7', '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":50,"render":{"type":type,"block": block}})}

    //Quark Crystals
    gardenvanilla('quark:red_crystal_cluster', 8, 'quark:red_crystal_cluster', 'quark:red_crystal', 'stacking', 'quark:red_crystal')
    gardenvanilla('quark:orange_crystal_cluster', 8, 'quark:orange_crystal_cluster', 'quark:orange_crystal', 'stacking', 'quark:orange_crystal')
    gardenvanilla('quark:yellow_crystal_cluster', 8, 'quark:yellow_crystal_cluster', 'quark:yellow_crystal', 'stacking', 'quark:yellow_crystal')
    gardenvanilla('quark:green_crystal_cluster', 8, 'quark:green_crystal_cluster', 'quark:green_crystal', 'stacking', 'quark:green_crystal')
    gardenvanilla('quark:blue_crystal_cluster', 8, 'quark:blue_crystal_cluster', 'quark:blue_crystal', 'stacking', 'quark:blue_crystal')
    gardenvanilla('quark:indigo_crystal_cluster', 8, 'quark:indigo_crystal_cluster', 'quark:indigo_crystal', 'stacking', 'quark:indigo_crystal')
    gardenvanilla('quark:violet_crystal_cluster', 8, 'quark:violet_crystal_cluster', 'quark:violet_crystal', 'stacking', 'quark:violet_crystal')
    gardenvanilla('quark:white_crystal_cluster', 8, 'quark:white_crystal_cluster', 'quark:white_crystal', 'stacking', 'quark:white_crystal')
    gardenvanilla('quark:black_crystal_cluster', 8, 'quark:black_crystal_cluster', 'quark:black_crystal', 'stacking', 'quark:black_crystal')

    /*********************************** MYSTICAL AGRICULTURE ***********************************/
    function gardenma(crop, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:"+crop+"_seeds" }, "soil": { "item": soil }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:"+crop+"_crop" }, "results": [{ "item": "mysticalagriculture:"+crop+"_essence", "count": qte }]})}
    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", "zinc", "brass", "silver", "lead", "graphite", "blizz", "blitz", "basalz", "manasteel", "ender_biotite", "aquamarine", "arcanecrystal", "cloggrum", "obsidian_ingot", "ironwood", "steeleaf", "rose_gold", "slimesteel", "pig_iron", "tinkers_bronze", "quartz_enriched_iron","compressed_iron", "gold", "lapis_lazuli", "end", "experience", "blaze", "ghast", "enderman", "steel", "nickel", "constantan", "electrum", "invar", "tungsten", "uranium", "signalum", "lumium", "hop_graphite", "elementium", "osmium", "refined_glowstone", "refined_obsidian", "starmetal", "energized_steel", "blazing_crystal", "froststeel", "regalium", "fluorite", "neptunium", "fiery_ingot", "knightmetal", "cobalt", "hepatizon", "sapphire", "ruby","diamond", "emerald", "netherite", "wither_skeleton", "platinum", "enderium", "terrasteel", "rock_crystal", "yellorium", "cyanite", "niotic_crystal", "spirited_crystal", "uraninite", "arcane_gold", "endumium", "oratchalcum", "utherium", "forgotten_ingot", "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) })
    crop.forEach(C => { gardenma(C, "forbidden_arcanus:magical_farmland", 8) })

    //Alfsteel
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:alfsteel_seeds" }, "soil": { "item": "kubejs:alfsteel_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:alfsteel_crop" }, "results": [{ "item": "mysticalagriculture:alfsteel_essence", "count": 8 }]
    })
    //Nether Star
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:nether_star_seeds" }, "soil": { "item": "mysticalagradditions:nether_star_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:nether_star_crop" }, "results": [{ "item": "mysticalagriculture:nether_star_essence", "count": 8 }]
    })
    //Dragon Egg
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:dragon_egg_seeds" }, "soil": { "item": "mysticalagradditions:dragon_egg_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:dragon_egg_crop" }, "results": [{ "item": "mysticalagriculture:dragon_egg_essence", "count": 8 }]
    })
    //Nitro Crystal
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:nitro_crystal_seeds" }, "soil": { "item": "mysticalagradditions:nitro_crystal_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:nitro_crystal_crop" }, "results": [{ "item": "mysticalagriculture:nitro_crystal_essence", "count": 8 }]
    })
    //Ultimate Ingot
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "kubejs:ultimate_seed" }, "soil": { "item": "extendedcrafting:the_ultimate_block" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:ultimate_crop" }, "results": [{ "item": "kubejs:ultimate_essence", "count": 8 }]
    })
    //Awakened Draconium
    e.custom({
      "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:awakened_draconium_seeds" }, "soil": { "item": "mysticalagradditions:awakened_draconium_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:awakened_draconium_crop" }, "results": [{ "item": "mysticalagriculture:awakened_draconium_essence", "count": 8 }]
    })
    //Chaotic Shard
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "mysticalagriculture:chaotic_seeds" }, "soil": { "item": "kubejs:chaotic_crux" }, "time": 50, "render": { "type": "crop", "block": "mysticalagriculture:chaotic_crop" }, "results": [{ "item": "mysticalagriculture:chaotic_essence", "count": 8 }]
    })

    /*********************************** GOBBER ***********************************/

    function gardenpgobb(crop, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "gobber2:gobber2_seed"+crop+"" }, "soil": { "item": soil }, "time": 50, "render": { "type": "crop", "block": "gobber2:gobber2_plant"+crop+"" }, "results": [{ "item": "gobber2:gobber2_globette"+crop+"", "count": qte }]})}
    var crop = ["", "_nether", "_end"]
    crop.forEach(C => { gardenpgobb(C, "minecraft:dirt", 1) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagriculture:inferium_farmland", 2) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagriculture:prudentium_farmland", 3) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagriculture:tertium_farmland", 4) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagriculture:imperium_farmland", 5) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagriculture:supremium_farmland", 6) })
    crop.forEach(C => { gardenpgobb(C, "mysticalagradditions:insanium_farmland", 7) })
    crop.forEach(C => { gardenpgobb(C, "forbidden_arcanus:magical_farmland", 8) })

    /*********************************** JELLYFISHING ***********************************/
    //Pineapple
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "jellyfishing:pineapple_seeds" }, "soil": { "item": "minecraft:dirt" }, "time": 50, "render": { "type": "crop", "block": "jellyfishing:pineapple_plant" }, "results": [{ "item": "jellyfishing:pineapple", "count": 1 }]
    })

    /*********************************** THE UNDERGARDEN ***********************************/
    //Pineapple
    e.custom({
        "type": "immersiveengineering:cloche", "input": { "item": "undergarden:gloomgourd_seeds" }, "soil": { "item": "undergarden:deepsoil" }, "time": 50, "render": { "type": "stem", "block": "undergarden:gloomgourd" }, "results": [{ "item": "undergarden:gloomgourd", "count": 1 }]
    })

    /*********************************** THERMAL ***********************************/
    function gardenthermal(crop, render, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "thermal:"+crop+"_seeds" }, "soil": { "item": soil }, "time": 50, "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) })
    crop.forEach(C => { gardenthermal(C, "crop", "forbidden_arcanus:magical_farmland", 8) })
    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) })
    stem.forEach(C => { gardenthermal(C, "stem", "forbidden_arcanus:magical_farmland", 8) })

    /*********************************** PAMS ***********************************/
    function gardenpam(crop, soil, qte){e.custom({"type": "immersiveengineering:cloche", "input": { "item": "pamhc2crops:"+crop+"seeditem" }, "soil": { "item": soil }, "time": 50, "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) })
    crop.forEach(C => { gardenpam(C, "forbidden_arcanus:magical_farmland", 8) })

})