{
  "display": {
    "icon": {
      "id": "minecraft:dark_oak_planks"
    },
    "title": "Headquarters",
    "description": "Find the Illagers' huge base...",
    "frame": "goal"
  },
  "parent": "minecraft:adventure/sleep_in_bed",
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:mansion"
            }
          }
        ]
      }
    }
  }
}