McJtyMods / InControl

Be In Control of Mob Spawns and others
MIT License
46 stars 17 forks source link

Zombies spawn in lit area even though I removed the norestrictions condition in spawner.json #426

Open Vandr546 opened 4 months ago

Vandr546 commented 4 months ago

Hi, I was wondering if is it possible for zombies not spawning in lit areas? You see, I used your more zombie spawn in your wiki page and removed the norestrictions condition so that they will only spawn at night. However, my problem is that zombies are swarming in my house even though it was lit up in every corner. During my playthrough, a group of zombies have infected my traded villagers and I have no idea how to fix this issue. Game version is 1.19.2.

McJty commented 4 months ago

That's not what 'norestrictions' does. Norestrictions is rather limited. Best to use rules in spawn.json to block based on light and/or time.

Vandr546 commented 4 months ago

I see, thank you for your friendly response. If I may ask, can you paste down the rules where zombies can only spawn in dim areas in spawn.json for the more zombies spawn? I don't have any knowledge when it comes to coding hahahaha. That would be much appreciated. It's okay to say no. Anyways, have a good day sir.

McJty commented 4 months ago

I don't exactly understand what you want to do to be honest. I recommend looking at the wiki. There are plenty of examples there and maybe you can modify them to fit your needs?