No Mob Spawning on Trees 1.12.2/1.11.2/1.10.2 is a mod that is able to stop the mobs from spawning on the tree. Therefore, it’s impossible for creepers to fall on your head anymore.

How does the No Mob Spawning on Trees mod operate?
You should follow the explanation below to understand the way that the edition completes its goal. However, you can find some advantages as well.
The main aim is to block creepers from falling on the head. It’s helpful if you own some mods that can create big trees. These are, for example, Realistic Terrain Generation, Thaumcraft, ExtraBiomesXL, etc.
How it works in detail
The release will disable mob spawning on wood logs (default)
Additionally, it disables mob spawning on mushroom blocks (default)
In fact, it’s a mob spawn control project. It can manageĀ mob spawning by customized rules, based on the following elements:
Mob name/type
Biome name/ID/type
Spawn Position
Spawn Block Name/Material
Dimension Name/ID
Probability
Moon Phase
Light Level
Game Ticks
These are setting in a single and compact config file. You can access the wiki to see more.
Add/Override entries of the mob spawning list
Reset the spawning capacity of creatures
Enhance the entire spawning rate
Gallery
Ghast in the desert (add “@biometype: SANDY, mob: ghast, weight: 1000” to rules)
Peaceful plains and hostile savanna (add “biome: plains” to rules)
No Mob Spawning on Trees is a server utility mod about mobs. It requires Minecraft Forge. Download and install it so you can connect to the content!
Screenshots