Mobs spawn on roofs in spite of randomspawn conditions
Summary:
Mobs spawns on the roofs or just fall from several blocks above the ground.
Steps to reproduce
PaperMC 1.21 MythicMobs 5.7.2
1.create a mob
2.Set a randomspawn for it with these conditions [spawn Action:ADD !!!!] Spawn Chance should be high in order to clearly see the problem Conditions:
- night true
- outside true
- lightlevelfromblocks{l=<1} true
- inblock{m=air} true #this is to prevent them from choking or spawning with feet in blocks
3.Find a place full of light.There should be some houses which have roofs where there is no light
4.set the time to night in game, and stand aside waiting to observe mob spawns. there should be some mobs spawning on roofs
Current behavior
Mobs don't spawn as expected, they appear on roofs or just fall from sky then land on my base
Intended behavior
Mobs spawn in dark environments according to the given conditions but not on dark roofs since vanilla mobs never spawn there