In Control!

In Control!

76M Downloads

Mob spawn cap/limit not working on mobs from Zoo & Wild Animals Rebuilt: ZAWA mod

IdkWhatNameThingyToPut opened this issue ยท 9 comments

commented

Hello this is for modded minecraft 1.12.2 and this is the mod https://www.curseforge.com/minecraft/mc-mods/zoo-wild-animals-rebuild

I'm trying to put a spawn cap/limit on each of the mods mobs individually

I saw an example on your wiki to do this I think and it's not working could you help me with this pls

This is what's in spawn.json
[
{
"dimension": 0,
"mod": "zawa",
"mincount": 3,
"result": "deny"
}
]

commented

How are you testing? Describe in detail

commented

How are you testing? Describe in detail

I went in game and tested it and could see the animals are spawning more than "3" which is what I was trying to set as a spawn cap/limit.

To show you what I mean the meerkats showing on this map are from the Zoo & Wild Animals Rebuilt: ZAWA mod and as you can see there is more than 3:

Screenshot 2025-01-12 20-33-16

commented

Try adding "onjoin": true

commented

Thanks it did help and make a difference but it seems to be capping their spawns to 2 instead of 3 for some reason. I guess maybe I can change it to 4 and then it could be 3? Either way it helps so thanks.

I was exploring a bit and noticed I couldn't see any of the same animals spawning 3 times, only saw them spawning 2 times or less.

I even put this in potentialspawn.json to try make them spawn more and still couldn't see more than 2 spawned (with the stuff still in spawn.json just so you know):

[
{
"dimension": 0,
"mobs": [
{
"mob": "zawa:meerkat",
"weight": 100,
"groupcountmin": 1,
"groupcountmax": 2
}
]
}
]

This was also tested on a test modpack thingy where only like 7 mods are installed btw just saying so you know it's easy to reproduce.

commented

Ok sooo I did some more testing and when putting mincount to 1 nothing seems to spawn at all. I think 1 on mincount might actually be 0. It actually explains why I only saw only 2 of each mob spawn before when mincount was set to 3, and would also explain why I never saw some mobs that I set a spawn cap/limit of 1 on recently.

commented

Is that intended or is it a bug I'm a bit confused right now sorry

commented

I'm back again to ask for some help and I'm still really confused

This is the stuff in spawn.json:
[
{
"dimension": 0,
"mod": "zawa",
"mincount": 3,
"onjoin": true,
"result": "deny"
}
]

This is the list of mods in a little testing modpack I made where you can reproduce the problem:

Image

Now to show you what I mean, this is a screenshot of the map with mincount set to 1:

Image

This is with mincount set to 2:

Image

This is with mincount set to 3:

Image

Also I changed the settings I:"Max Group" and I:"Min Group" to be set to 1 for the mobs in the Zoo & Wild Animals Rebuilt : ZAWA mod's config file called ZAWASpawnConfigurations.

This problem also seems to happen with this mod too https://www.curseforge.com/minecraft/mc-mods/beast-slayer

commented

What do these screenshots show? Sorry but I have no clue what to look for on them.

commented

Also are you reloading or restarting the world and killing all mobs after changing the rules?