In Control!

In Control!

74M Downloads

[1.12.2] Feature Request if not yet possible: Mobs to respect Torch Light levels but spawn at daytime

Morpheus1101 opened this issue ยท 2 comments

commented

I currently have it set so the mobs can spawn during the daylight, however the issue is that even though i have it set so they cant spawn unless they see the sky, im finding that mobs are spawning in my base despite the fact that they cant see the sky and it is lit up with torches.

Is there a way to Have them spawn during the day regardless of light level BUT respect torch light levels

commented

I would REALLY love this option as well. There are a good amount of mobs I would like to make "daytime", but not be able to spawn right inside someone's base.

commented

So, I'm still a little inexperienced with this sort of stuff, but what about using "maxlight" and "seesky" together, so mobs will spawn at a certain light level, but only if it's under open sky? Then set another rule making them spawn in the dark if they can't see the sky, that way normal cave spawning isn't affected. A bit of an inelegant solution, but maybe that'll work. Again, I've never tried it, so I might test it myself.
P.S. just realized how late this post is.

Edit:
Thought of another method that might be simpler.
Use "seesky", and "minlight", but set minlight to 12 or something similar, seesky to false, then set "result" to deny to block the spawn. That way, If light level = 12 or higher, but the mob cannot see the sky, it will not spawn. Then dark cave spawning should happen as normal, and this should prevent spawning in a lit base with a roof.