[1.18.2] Mobs spawn on leaves
Peach774 opened this issue ยท 3 comments
Describe the bug
Leaves are not supposed to be spawnable blocks, but they are spawning on top of trees, which means the animal AI breaks down and they don't move because they have nowhere to go.
Steps To Reproduce
Steps to reproduce the behavior:
- Create a new world (might require BoP since they add more tall trees)
- Fly around in creative and find animals in trees doing nothing.
Version (please complete the following information):
- Minecraft version: [1.18.2]
- Version of the mod: [2.1.1]
- Additional mods: [Might require BiomesOPlenty]
Leaves are not supposed to be spawnable blocks
Leaves are spawnable blocks, otherwise Jungles (or densely vegetated biomes from mobs) would be barren
Every mob (or pack thereof) that spawns on top a tree is a mob that would, otherwise, not have spawned. I will be adding a config option so you can fine-tune this behavior (or just disable this) in the next version, but it's intended, even if it looks bad
I have toned down heavily the leeway mobs get when spawning, so there should be no more mobs on top of trees, but can be replicated with the "treeSpawnBias" parameter in the Config file