The Hordes

The Hordes

5M Downloads

[Suggestion] Respect light level option

redstoneguy10ls opened this issue ยท 7 comments

commented

Or I guess a way to not have hordes spawn in a base. cause I have big walls around my base but it doesn't matter cause the hordes just spawn inside the walls

commented

Hordes do attempt to respect light levels as many times as specified in the config.

How big is your base? The horde spawns 75 blocks away, I cant really make it any further away because mob ai starts running into issues outside that distance.

commented

I couldn't find anything in the configs about light level, apologies, if you could point me to where that be great. as for my base, yeah it's big it's 77 by 80 blocks.

commented

Horde mod V. 1.20.1-1.5.4. forge-1.20.1-47.3.11
I removed the config files.. It's default files.
The amount of zombies that spawned seem to decrease when I placed walls on the platform in the image. Platform as a 2nd sstory and 1st floor. Oddly I would've sworn they were actualy spawning on top of the walls instead of inside the building lol, although after i leave the area and come back, the room has several zobies....

commented

I have to say.. I love most aspects of this mod.. The whole spawning in my base is just too much though.. I'm not lookinh for realism.. I know Zombies don't exist.. but the whole thing with going upstais and coming back dowstairs and being attacked by zombies that just "popped in" from nowhere.. It makes it tedius and not much fun. At least having the possibility of trying to keep them on the outside of your base would give reason to even play. otherwishe you might as well just surround yourself with spawners and go for the gold trying to fight off the waves.
Especialy if I leave to gather resources.. in the middle of the ocean.. open the door and there's a bunch of zombies in my base.. no broken walls where they broke in, just magic teleportation
image

commented

I have to say.. I love most aspects of this mod.. The whole spawning in my base is just too much though.. I'm not lookinh for realism.. I know Zombies don't exist.. but the whole thing with going upstais and coming back dowstairs and being attacked by zombies that just "popped in" from nowhere.. It makes it tedius and not much fun. At least having the possibility of trying to keep them on the outside of your base would give reason to even play. otherwishe you might as well just surround yourself with spawners and go for the gold trying to fight off the waves. Especialy if I leave to gather resources.. in the middle of the ocean.. open the door and there's a bunch of zombies in my base.. no broken walls where they broke in, just magic teleportation image

The mod tries to not let mobs spawn in your base to the best it can, by checking light levels, but zombies also bug out and the raids don't work properly in water, so where possible it tries to avoid spawning in it.

They're spawning in your base because there aren't any other valid blocks to spawn on.

You can disable the water check in a datapack if you want (the default one is in the hordes folder of your config, which you can modify) by adding the following function to a script file.

{
	"function": "hordes:set_spawn_type",
	"value": "ignore_water",
	"conditions": []
}
commented

I have to say.. I love most aspects of this mod.. The whole spawning in my base is just too much though.. I'm not lookinh for realism.. I know Zombies don't exist.. but the whole thing with going upstais and coming back dowstairs and being attacked by zombies that just "popped in" from nowhere.. It makes it tedius and not much fun. At least having the possibility of trying to keep them on the outside of your base would give reason to even play. otherwishe you might as well just surround yourself with spawners and go for the gold trying to fight off the waves. Especialy if I leave to gather resources.. in the middle of the ocean.. open the door and there's a bunch of zombies in my base.. no broken walls where they broke in, just magic teleportation image

The mod tries to not let mobs spawn in your base to the best it can, by checking light levels, but zombies also bug out and the raids don't work properly in water, so where possible it tries to avoid spawning in it.

They're spawning in your base because there aren't any other valid blocks to spawn on.

You can disable the water check in a datapack if you want (the default one is in the hordes folder of your config, which you can modify) by adding the following function to a script file.

{
	"function": "hordes:set_spawn_type",
	"value": "ignore_water",
	"conditions": []
}

Thank you for geting back ๐Ÿ˜๐Ÿ™๐Ÿ˜Ž
So by disabling the water check, it's more likely to respect light levels of the base because they don't bug out?
So otherwise, it's a bug of somekind that it won't repect the light levels 100% of the time...?

commented

In order to stop the game just freezing if it can't find anywhere it tries to find a spot a certain number of times based on light level and spawn block, then just spawn block, then neither. You can change how many checks it does in the config, but in this case it wouldn't matter.

Which mod version are you on and what does the default script file look like?
Because the mod should by default if you're in an ocean try to spawn only drowneds in water.

I'm wondering if the default files are messed up in some way.