Prevent Cursed Earth from spawning mobs when light level is higher than 7
Opened this issue ยท 4 comments
Is your feature request related to a problem? Please describe.
In EU2, Cursed Earth would only work when light level would normally allow mobs to spawn. This helped to prevent lag on servers and reduce the average entity count. The Cursed Earth from Mini Utilities seem to be spawning mobs no matter the light level, which makes managing and maintaining the mob farm a pain in the butt as well as increases the load on the servers.
Describe the solution you'd like
Cursed Earth should be inactive while light level is over 7, allowing for control via carefully laid out redstone lamps or other togglable light sources.
Describe alternatives you've considered
Another way could be through direct redstone but wouldnt help with natural spawns if the light level is low.
Additional context
This suggestion is irrelevant as of now since Cursed Earth currently reverts to dirt after spawning a single mob, as reported in my previous issue #107 .
I can see both behaviors being something users could enjoy. Maybe place a config option for the behavior, and default to cursed earth not reverting into dirt, but turning off when the light level is above 7? The devolving earth could have a config setting just in case someone likes the idea of using cursed earth as an underdark sort of threat?
I've already opened a similar issue and preceded to create a pull request to address it.
Your content doesn't seem to include anything to turn off spawning given a particular light level? It does seem to stop the cursed earth from turning into dirt though. (I did a pull and build for testing out of curiosity)