DrZhark / mocreatures

20 stars 0 forks source link

[1.12.2] Ghast Spawning [Custom Spawner Issue] #81

Open EvilDylan opened 6 years ago

EvilDylan commented 6 years ago

With only this mod and Custom Spawner installed: Custom Spawner appears to have a tendency to spawn mobs partially or fully in walls. I have seen this happen with spiders, alpacas, and most importantly, ghasts. When a ghast is suffocating, it fills the crisp nether air with ear-splitting shrieks of eternal suffering until it eventually dies. This is incredibly annoying and disorienting.

darchitectlp commented 6 years ago

I'm not sure it's CustomMobSpawner... I didn't install it, and I've seen dolphins and fish spawn in sand and a few other bugged spawns.

durand1w commented 6 years ago

Can confirm this is still an issue on 1.12 version of Mo'Creatures and CMS. This has been an issue on previous releases as well. Is it possible that the spawning checks are not verifying that there are Blocks.AIR at the position and also above the position for regular mobs? For Ghasts it probably requires a much larger position check for Air blocks.

We also have modded blocks that mobs spawn in regularly. I think this is related to the same area of code where the modded block darkens the vanilla block below it. CMS only checks the lightlevel and if the block is not a full block (stairs, for example)?

darchitectlp commented 6 years ago

I think the spawning rules that are causing this are built into Mo Creatures, itself. As I said, I play without CMS installed, and a lot of Mo Creatures mobs spawn in blocks.

durand1w commented 6 years ago

Yeah, I can confirm the issue with Mobs spawning inside Redstone Blocks still exists as well. (screenshot attached).

2018-07-21_08 46 20