{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": "#minecraft:swords"
          }
        ]
      }
    }
  },
  "rewards": {
    "recipes": [
      "survivalplus:diamond_longsword",
      "survivalplus:golden_longsword",
      "survivalplus:iron_longsword",
      "survivalplus:stone_longsword",
      "survivalplus:wooden_longsword",
      "survivalplus:diamond_greatsword",
      "survivalplus:golden_greatsword",
      "survivalplus:iron_greatsword",
      "survivalplus:stone_greatsword",
      "survivalplus:wooden_greatsword"
    ]
  }
}