#Make entity walk in random direction when approaching player to attack
1 messages · Page 1 of 1 (latest)
You can't really override the pathfinding to do that afaik. I guess you could try having random stroll have a lower value in priority than melee attack, and see if that makes it wander and attack the player if the player's in range?
As for the jumping, you can probably try minecraft:behavior.jump_to_block (docs: https://learn.microsoft.com/en-us/minecraft/creator/reference/content/entityreference/examples/entitygoals/minecraftbehavior_jump_to_block?view=minecraft-bedrock-stable). If that doesn't do what you want, you could also probably periodically apply vertical impulse in a script