How can I give a mob a custom AI by using commands? Like giving a giant the AI of a zombie, for example.

  • You can give a mob a custom AI, but it'll take a lot of commands and depends completely on what you want the mob to do. There's no single command or NBTag to change a mob's AI (other than switching it off with NoAI). – SirBenet Feb 22 '16 at 17:13

You can't, there is no NBT tag/data for it. See also http://minecraft.gamepedia.com/Commands#summon


As of 1.9, if a mob is riding another mob, the passenger will take over pathfinding of the host. The following summons a giant that has the pathfinding of a zombie.

/summon Giant ~ ~1 ~ {Passengers:[{id:"Zombie"}]}

However, this only affects pathfinding; the giant will still not attack, though you could use smoke and mirrors to accomplish that such as running a /effect command around the giant to target players.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.