//priority: 30

onEvent("recipes", recipesEvent => {
  var shapelessRecipes = [
    {
      "input": [
        "thermal:tin_ingot",
        "thermal:lead_ingot"
      ],
      "output": "2x eidolon:pewter_blend"
    },
    {
      "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"
    }
  ]

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