Minecraft Mob behaviour
I was wondering if it's possible to control what zombies do. Is it possible to make the zombies attack certain players but not attack other players? I haven't tried anything yet because I'm guessing this will require /scoreboard and I know nothing of this command. I'm on 1.7.10 minecraft and I'm wanting to do this in vanilla minecraft.
Best Answer
This is not possible in 1.7.10 vanilla due to the severe lack of command features, namely the @e selector.
I would highly recommend upgrading to a more recent version. For example, in 1.8, the @e selector was introduced in order to target non-player entities with commands, as well as the ability to add mobs to a scoreboard team. If a mob is in the same team as a player, that mob will no longer be hostile towards that player but will remain hostile towards non-teammates.
/scoreboard teams add Passive
/scoreboard teams join Passive @p @e[type=Zombie]
Pictures about "Minecraft Mob behaviour"



What is the most friendly mob in Minecraft?
Here's what players can do with the new Allay mob that joins the list of Minecraft's tameable mobs.What is the most annoying Minecraft mob?
1) Creeper The king of annoying mobs in Minecraft is a Creeper. These silent creatures have only one aim in the game, which is to sneak up on players and explode. They don't make any noise other than a hissing sound when they are about to explode.What are the 3 types of mobs in Minecraft?
Types of Mobs in Minecraft Mobs can be categorized into three types of behavior: passive, neutral, and hostile.MOB Behavioral Studies (Minecraft)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pew Nguyen, Pixabay, Anna Tarazevich, Kaboompics .com
