//priority: 30

onEvent("recipes", recipesEvent => {
  var shapelessRecipes = [
    {
      "input": [
        "thermal:tin_ingot",
        "thermal:lead_ingot"
      ],
      "output": "2x eidolon:pewter_blend"
    },
    {
      "input": [
        "9x environmental:koi"
      ],
      "output": "fish_in_planks:koi_barrel"
    },
    {
      "input": [
        "#forge:dirt",
        "2x minecraft:rotten_flesh",
        "2x farmersdelight:straw",
        "4x minecraft:bone_meal"
      ],
      "output": "farmersdelight:organic_compost",
    },
    {
      "input": [
        "#forge:dirt",
        "2x farmersdelight:straw",
        "2x minecraft:bone_meal",
        "4x farmersdelight:tree_bark"
      ],
      "output": "farmersdelight:organic_compost",
    },
    {
      "input": [
        "#forge:dirt",
        "minecraft:vine"
      ],
      "output": "subwild:mossy_dirt"
    },
    {
      "input": "unearthed:regolith",
      "output": "minecraft:dirt"
    },
    {
      "input": [
        "#forge:stone",
        "#forge:cobblestone"
      ],
      "output": "2x byg:rocky_stone"
    },
    {
      "input": [
        "#forge:cobblestone"
      ],
      "output": "4x quark:cobblestone_bricks"
    },
    {
      "input": [
        "2x #minecraft:logs"
      ],
      "output": "16x minecraft:stick"
    },
    {
      "input": [
        "9x #forge:gems/biotite"
      ],
      "output": "quark:biotite_block"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "#forge:dusts/glowstone",
      ],
      "output": "witchery_rewitched:glintweed"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "#minecraft:coals",
      ],
      "output": "witchery_rewitched:ember_moss"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "minecraft:vine",
      ],
      "output": "witchery_rewitched:spanish_moss"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "minecraft:sweet_berries",
      ],
      "output": "witchery_rewitched:rowan_sapling"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "#forge:gems/quartz",
      ],
      "output": "witchery_rewitched:hawthorn_sapling"
    },
    {
      "input": [
        "#witchery_rewitched:mutandis_plants",
        "witchery_rewitched:mutandis",
        "minecraft:spider_eye",
      ],
      "output": "witchery_rewitched:alder_sapling"
    }
  ]

  for (recipe of shapelessRecipes) {
    let { input, output } = recipe;
    recipesEvent.shapeless(output, input);
  }
});