{
  "display": {
    "icon": {
      "id": "minecraft:barrel"
    },
    "title": "Mine Treasure",
    "description": "Ready your pickaxe!",
    "background": "minecraft:block/deepslate",
    "frame": "task",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "criteria": {
    "requirement": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_scores",
            "entity": "this",
            "scores": {
              "mt.total": {
                "min": 1
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "mt:treasure/guarantee"
  }
}