{
  "parent": "minecraft:story/form_obsidian",
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "#minecraft:ruined_portal",
              "block": {
                "blocks": "minecraft:nether_portal"
              }
            }
          }
        ]
      }
    }
  },
  "display": {
    "description": "Repair and use a Ruined Portal",
    "icon": {
      "id": "minecraft:crying_obsidian"
    },
    "title": "Thinking With Portals",
    "frame": "task"
  }
}