{
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:ender_dragon",
              "location": {
                "dimension": "minecraft:the_end"
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "vb:trigger/dragon_egg"
  }
}