Open DreamyNeon opened 11 months ago
The limited spawns feature, as you've noticed, cannot support what you are trying to do. It's meant to give a "life" to spawners, and when that life runs out, it's dead.
If I understand your suggestion correctly, it would simply limit the number of spawned mobs, and spawn new ones after one has died. This is pretty much achieved by lowering the count option in the in-game spawner config GUI.
So, by using the spawner key, I set the spawner's count to "low". It seems the cutoff for this was 17 mobs. Is there any way to adjust this number to be lower?
Hmm, more are still spawning when I waited a bit longer.
The way spawners works, is that they check within a certain radius if there are any mobs nearby and count them. And depending on a threshold, set by the count
option, it will either spawn more or wait. Therefore, if some mobs start to wander away outside this radius, then the counted nearby mobs will be lower, and new mobs will eventually spawn.
So yes, setting the count
to low will still spawn mobs and there is currently no way to set this lower.
I see. Is there any way to increase the detection radius of monster spawners? Currently, it's 9x9x9, and as you've mentioned, if mobs leave that area, the spawner will create more. I just asked on Reddit about this, but I would appreciate it if you knew anything I could achieve on my own, say by making a data pack. Or, it would be an excellent addition if this was a further modification by your mod. Thanks again for responding to my questions I really appreciate it.
I'm not familiar with data packs and what you can do with them so can't say anything about that.
A mod could solve this, but I can't say I will implement it as I don't promise suggestions.
Suggestion
Hiya love the mod! I do have a quick question/suggestion, though. I was hoping to create a spawner that released 10 mobs, and whenever a mob died, it would respawn another until the maximum amount of 10 was reached again. However, when I used the "limited spawns" option in the config, the mobs did not respawn and the spawner died (I realize you specify this in the description - my mistake). Is there a way to achieve what I want with the current system? Or, would it be possible to implement it at a later time? I hope that all made sense - regardless, thanks again for the mod!