2
How to edit mob ai.
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?
4
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)
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.
If you can't code, then buh-bye, you cannot make it possible.
There are people who actually makes small changes to the AIs of the mobs with datapacks but IDK how they do that.
It isn't possible without mods.
