{
  "display": {
    "icon": {
      "id": "minecraft:iron_pickaxe"
    },
    "title": "Diggy Diggy Hole",
    "description": "Obtain the Miner's Pickaxe from the Undead Miner"
  },
  "parent": "survivalplus:adventure/tools/greatsword",
  "criteria": {
    "get_cobblegobber": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "components": {
              "minecraft:custom_data": "{minerpick:tag}"
            }
          }
        ]
      }
    }
  }
}