{
  "parent": "twilightforest:progress_troll",
  "criteria": {
    "castle": {
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "location": {
                "structure": "twilightforest:final_castle"
              }
            }
          }
        ]
      },
      "trigger": "minecraft:location"
    },
    "previous_progression": {
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type_specific": {
                "type": "player",
                "advancements": {
                  "twilightforest:progress_troll": true
                }
              }
            }
          }
        ]
      },
      "trigger": "minecraft:tick"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancement.twilightforest.progress_thorns.desc"
    },
    "frame": "goal",
    "hidden": false,
    "icon": {
      "item": "twilightforest:brown_thorns"
    },
    "show_toast": true,
    "title": {
      "translate": "advancement.twilightforest.progress_thorns"
    }
  },
  "requirements": [
    [
      "castle"
    ],
    [
      "previous_progression"
    ]
  ]
}