38 lines
758 B
JSON
38 lines
758 B
JSON
{
|
|
"parent": "minecraft:adventure/kill_a_mob",
|
|
"display": {
|
|
"icon": {
|
|
"item": "minecraft:bow"
|
|
},
|
|
"title": {
|
|
"translate": "advancements.adventure.shoot_arrow.title"
|
|
},
|
|
"description": {
|
|
"translate": "advancements.adventure.shoot_arrow.description"
|
|
},
|
|
"frame": "task",
|
|
"show_toast": true,
|
|
"announce_to_chat": true,
|
|
"hidden": false
|
|
},
|
|
"criteria": {
|
|
"shot_arrow": {
|
|
"trigger": "minecraft:player_hurt_entity",
|
|
"conditions": {
|
|
"damage": {
|
|
"type": {
|
|
"is_projectile": true,
|
|
"direct_entity": {
|
|
"type": "minecraft:arrow"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"requirements": [
|
|
[
|
|
"shot_arrow"
|
|
]
|
|
]
|
|
} |