{
  "display": {
    "icon": {
      "item": "iceandfire:dragonbone_sword_lightning"
    },
    "title": [
      {
        "text": "Unlock the Lightning Dragon Bone Sword",
        "color": "gold",
        "bold": true
      }
    ],
    "description": [
      {
        "text": "Kill one lightning dragon and craft one dragon bone sword."
      }
    ],
    "frame": "goal",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": true
  },
  "parent": "baersadditions:stages/legendary_weapons",
  "criteria": {
    "killed_lightning_dragon": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": {
          "type": "iceandfire:lightning_dragon"
        }
      }
    },
    "crafted_dragonbone_sword": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "item": "iceandfire:dragonbone_sword"
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "killed_lightning_dragon"
    ],
    [
      "crafted_dragonbone_sword"
    ]
  ]
}
