{
  "parent": "minecraft:adventure/minecraft_trials_edition",
  "criteria": {
    "under_lock_and_key": {
      "conditions": {
        "location": [
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "block": {
                "blocks": "minecraft:vault",
                "state": {
                  "ominous": "false"
                }
              }
            }
          },
          {
            "condition": "minecraft:match_tool",
            "predicate": {
              "items": "minecraft:trial_key"
            }
          }
        ]
      },
      "trigger": "minecraft:item_used_on_block"
    }
  },
  "display": {
    "description": {
      "translate": "advancements.adventure.under_lock_and_key.description"
    },
    "icon": {
      "count": 1,
      "id": "minecraft:trial_key"
    },
    "title": {
      "translate": "advancements.adventure.under_lock_and_key.title"
    }
  },
  "requirements": [
    [
      "under_lock_and_key"
    ]
  ],
  "sends_telemetry_event": true
}