2

How to edit mob ai.

StormyDog251 7/28/22 10:36 am
187
8/14/2022 12:43 pm
I've seen people spawn mobs with no ai before but I was wondering if it was possible to spawn a mob with a different ai. For example, a pig that acts like a creeper and will explode when close to players. If this is possible could someone please tell me how to do so?
Posted by
StormyDog251
Level 1 : New Miner
0

  Have something to say?

JoinSign in

4

Silabear
08/14/2022 12:43 pm
He/Him • Level 70 : Legendary Guard Bear
You can theoretically do this with a datapack. You can teleport X mob to invisible Y mob and X will act like Y does (since it’s Y with the AI and X is just at the position of it)
2
NaiNonTheN00b1
08/14/2022 12:27 pm
Level 67 : High Grandmaster Stack
Only mods can do that, so you have to make a mod for it.

If you can't code, then buh-bye, you cannot make it possible.
2
Rob333
07/28/2022 2:48 pm
He/Him • Level 50 : Grandmaster Sus Imposter
There are people who actually makes small changes to the AIs of the mobs with datapacks but IDK how they do that.
2
Spuduking
07/28/2022 2:25 pm
Level 34 : Artisan Procrastinator
It isn't possible without mods.
3

Welcome