#How to make my entity leap back when attacking?

11 messages · Page 1 of 1 (latest)

river coral
#

I don't think theres a component for that, but maybe using minecraft:behavior.avoid_mob_type

#

Like adding a component group with avoid mob type after it attacks

#

then once it moves away from the target

#

you use the on_escape_event to remove the component group wuth avoid mob type

#

and add the one with the attack

#

to make it use a jump attack

#

you could use stalk and pounce component

#

or you could use movement.jump

#

If you're not familiar with components and stuff

#

I recommend the wiki beginner's tutorial