How to give a mob a custom AI?

How to give a mob a custom AI? - Positive ethnic cook in apron standing at counter in food truck and giving delicious hamburger to anonymous woman customer in daytime

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



Best Answer

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.




Pictures about "How to give a mob a custom AI?"

How to give a mob a custom AI? - Side view of cheerful florist in apron giving paper bag with bouquets of flowers to smiling customer in floral shop in daytime
How to give a mob a custom AI? - Side view of crop anonymous female friends sitting at table with various colorful gift bags bought for occasion
How to give a mob a custom AI? - High angle of positive multiracial couple getting delicious burgers from salesman working in food truck



How do you give a mob a different AI in Minecraft?

Creating a mob
  • Click on "New Mod"
  • Click on "Mob" and name your mod. Names mustn't repeat. Make it something you understand, the end-user won't see this name. One way you can prevent your block name from being repeated is to put the mod type before your mod name (e.g. MobMyMod).


  • How do you make a custom mob in Minecraft?

    Mob AI (Artificial Intelligence) is a behavioral system followed by all Mobs in Minecraft. Each group of Mobs (Passive, Hostile and Neutral) has a general AI, though mobs in these categories may have special AI of their own.



    Getting Started - Custom AI




    More answers regarding how to give a mob a custom AI?

    Answer 2

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

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Kampus Production, Amina Filkins, Tim Douglas, Kampus Production