Hi, I was wondering if anyone knows how to progress an advancement for killing a specific entity with nbt data. I know there is an "nbt" option under "type", but i'm not quite sure what to put in it to have it work. Any help is appreciated thanks!
For reference, the entity is a stray with custom armour, custom name and a custom weapon.
P.s Here's what i've got at the moment.
{
"__comment": "killing osthir advancement",
"display": {
"title": {
"text": "Last Prince of Cardolan",
"color": "gold"
},
"description": {
"text": "Return the last Prince to his eternal slumber"
},
"icon": {
"item": "lotr:arnor_sword"
},
"frame": "challenge",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"osthir": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
"type": "minecraft:stray",
"nbt":
}
}
}
},
"parent": "cmd:root"
}
(Also I know having blank nbt isn't correct, i'm just not sure about what should be there.