44 lines
903 B
JSON
44 lines
903 B
JSON
|
{
|
||
|
"parent": "minecraft:adventure/kill_a_mob",
|
||
|
"criteria": {
|
||
|
"shot_arrow": {
|
||
|
"conditions": {
|
||
|
"damage": {
|
||
|
"type": {
|
||
|
"direct_entity": {
|
||
|
"type": "#minecraft:arrows"
|
||
|
},
|
||
|
"tags": [
|
||
|
{
|
||
|
"expected": true,
|
||
|
"id": "minecraft:is_projectile"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"trigger": "minecraft:player_hurt_entity"
|
||
|
}
|
||
|
},
|
||
|
"display": {
|
||
|
"announce_to_chat": true,
|
||
|
"description": {
|
||
|
"translate": "advancements.adventure.shoot_arrow.description"
|
||
|
},
|
||
|
"frame": "task",
|
||
|
"hidden": false,
|
||
|
"icon": {
|
||
|
"item": "minecraft:bow",
|
||
|
"nbt": "{Damage:0}"
|
||
|
},
|
||
|
"show_toast": true,
|
||
|
"title": {
|
||
|
"translate": "advancements.adventure.shoot_arrow.title"
|
||
|
}
|
||
|
},
|
||
|
"requirements": [
|
||
|
[
|
||
|
"shot_arrow"
|
||
|
]
|
||
|
]
|
||
|
}
|