In Control!

In Control!

72M Downloads

Certain mobs won't spawn at all. Not even with spawn egg.

Closed this issue ยท 1 comments

commented

Forge, 1.20.1

I'm using the mod to control spawns. It works well; however, I notice that if I try to spawn the mods on the list with a spawn egg, they will not spawn until I remove the rule from the JSON. For example, I want no more than five mobs to spawn and the rest to be denied. With the rule in the JSON, they cease to spawn completely. Not even five will spawn. I can even attempt to use a spawn egg, and nothing will spawn.

Here is a few of the rules-
"mob": ["minecraft:bat"],
"mod": "minecraft",
"maxcount": 15,
"result": "deny",
"when": "onjoin"

"mob": ["arphex:moth_moonchaser"],
"mod": "arphex",
"maxcount": 30,
"result": "deny",
"when": "onjoin"

Is there any way for me to fix this? If the issue in the rule perhaps?

commented

Ah, never mind. I think i figured out the problem! I just had to read through the Incontrol wiki better. changing the following command to this-

"mob": ["arphex:moth_moonchaser"],
"mod": "arphex",
"mincount": 10,
"maxcount":12,
"result":"deny",
"when":"onjoin"

solved the issue. no more then nine would spawn even when I used the egg. I'm assuming this will work for all other mobs. Thanks for creating that wiki.