2
Make mobs run away from players
is it possible to make hostile mobs run away from players? I don't mean ignore, but actually run away with a speed boost :D. I was hoping to use something like this in a mini game, but I am not sure it's even possible.
Create an account or sign in to comment.
6
Thanks for the comments everyone. You have given me some ideas that may work. For example if I want to use zombies, I can summon an invisible villager and randomize it's teleported location and keep moving the villager before the zombie can get close enough to attack. and I believe I can do the same with skeletons and wolves.
I was really hoping that you all would tell me that there was an NBT tag that could be added to mobs and/or players to make mobs run away. (wishful thinking)
I was really hoping that you all would tell me that there was an NBT tag that could be added to mobs and/or players to make mobs run away. (wishful thinking)
Cant you just use Bittu's and my idea of tping the mob to an invisible cat?
When a player get near a hostile mob just summon an untamed cat at that man and link the mob with the cat and ultimately the mob will run away from player
Creepers: summon an invisible cat
zombies: wait for the warden to get added since they're afraid of the warden
zombies: wait for the warden to get added since they're afraid of the warden
Creepers will run away in random directions, not away from the player
when a player is nearby summon an invisible cat/ocelot on the hostile mob and tp the mob to that cat