Mobs are afraid of creepers once again!
Creeper awareness resurrects secret feature that was added in snapshot 14w11, and removed after because of the lag it was causing. And that’s simply because mojang implemented it in a very unefficient way.
WARNING: Forge 1.9 is in beta, meaning that some things may not work.
Before reporting issue in 1.9, check that you are using latest version of forge.
How does it work?
Each world has list of explosion sources associated to it.
To this list all things that will explode are added. For example primed tnt, or fused creeper.
For each of those sources, list of entities that are in zone that explosion will affect is created. By default, it’s a sphere (yes, sphere, not a box) with 2.5 times radius of future explosion.
Then, each entity in the list is told to go outside of this zone. There are 2 path finding algorithms: “random” and “smart”:
-Random algorith sends them to random block away from center with minimum distance 2.5 times radius of future explosion.
-Smart algorith uses vector math to ray trace position outside of affected zone, and then y search to find accessible block.
By default, smart algorithm is active, but it can be changed in config file.
Sorry for low fps.
Funny video with a pig:
Check out all my mods here: Elix’x mods hub!
If you like my mods, your support is very appreciated and will speed me up improving my mods!
If you would like to support me, you have 2 options, patreon is prefered one: