39 lines
791 B
JSON
39 lines
791 B
JSON
|
{
|
||
|
"display": {
|
||
|
"icon": {
|
||
|
"id": "minecraft:bow"
|
||
|
},
|
||
|
"title": "So anyway I started blasting...",
|
||
|
"description": "Hurt a mob by spamming a bow",
|
||
|
"frame": "task",
|
||
|
"announce_to_chat": true
|
||
|
},
|
||
|
"parent": "canopy:mobs",
|
||
|
"criteria": {
|
||
|
"bow_spam": {
|
||
|
"trigger": "minecraft:player_hurt_entity",
|
||
|
"conditions": {
|
||
|
"player": [],
|
||
|
"damage": {
|
||
|
"dealt": {
|
||
|
"min": 0,
|
||
|
"max": 1
|
||
|
},
|
||
|
"type": {
|
||
|
"tags": [
|
||
|
{
|
||
|
"id": "minecraft:is_projectile",
|
||
|
"expected": true
|
||
|
}
|
||
|
],
|
||
|
"direct_entity": {
|
||
|
"type": "minecraft:arrow"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"entity": []
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|