{
  "parent": "twilightforest:root",
  "criteria": {
    "hedge_spider": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "twilightforest:hedge_spider",
              "location": {
                "structure": "twilightforest:hedge_maze"
              }
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    },
    "swarm_spider": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "twilightforest:swarm_spider",
              "location": {
                "structure": "twilightforest:hedge_maze"
              }
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancement.twilightforest.hedge.desc"
    },
    "frame": "task",
    "hidden": false,
    "icon": {
      "item": "twilightforest:hedge"
    },
    "show_toast": true,
    "title": {
      "translate": "advancement.twilightforest.hedge"
    }
  },
  "requirements": [
    [
      "hedge_spider",
      "swarm_spider"
    ]
  ]
}