This was a feature in 1.8 but it was removed due to lag. The lag was caused by mobs globally checking if creepers were about to explode every second.
If I could attach some commands (redirecting nearby entities) to a creeper about to explode (as opposed to checking every second) it wouldn't be as laggy, how could I accomplish this?
Also what tags are needed to find a spawnable block behind an entity? And what command do I use to make a mob walk somewhere?