#Why doesn’t the on_kill part of the delayed attack behavior work?

1 messages · Page 1 of 1 (latest)

snow hinge
#

It doesn’t trigger the event
'''"minecraft:behavior.delayed_attack": {
"priority": 1,
"attack_once": false,
"track_target": true,
"require_complete_path": false,
"random_stop_interval": 0,
"reach_multiplier": 1.5,
"speed_multiplier": 1,
"attack_duration": 1,
"hit_delay_pct": 0.33,
"on_kill": {
"event": "kill_animation"
}
},'''

hexed stone
#

I don't know, for some reason it doesn't work.

snow hinge
meager geyser
#

it only works in melee attacking

#

as far as I've tested it.

jolly edge
#

I have the same problem. on_attack is also not working

meager geyser
#

you just have to replace the melee attack component of your mob with mine then test it to see if it works