In Control!

In Control!

72M Downloads

mincount and maxcount not working with Ice and Fire mobs

vishtheshnu opened this issue ยท 2 comments

commented

I'm trying to create spawning rules for Ice and Fire mobs in a dimension where they don't normally spawn. I set the mob in potentialspawn.json, and set allow and deny rules in spawn.json, along with maxcount in the allow rule. This works and maxcount is respected for other mobs, even from other mods like matter overdrive. When I try to change that template to work with mobs from Ice and Fire, neither mincount nor maxcount are respected and either the mobs keep spawning quickly with no limit, or won't spawn at all.

Versions:

  • In Control: 3.9.16
  • Ice and Fire: 1.8.3
  • Forge: 14.23.5.2847
  • Minecraft: 1.12.2
commented

I'm facing the same issue. I tried with various combinations of mincount and maxcount. no luck.
I think maybe it's easier to modify the source code of Ice and Fire mobs.

commented

I'm not exactly sure if this is the right reason, but this is my theory for why this is happening.

If you've played with the Ice and Fire mod a bit, you'll realize that dragon never despawn in Peaceful mode.

And if you've played older versions of Minecraft, on peaceful mode, mobs would blink into appearance for a frame before disappearing again.

I figure that usually, spawning mobs work like this
Condition - Spawn - Check - Result

It's a extremely rare case, but I think InControl works like a config+ vanilla spawner, so when the dragon spawns, the InControl check is ignored, (just like vanilla peaceful mode toggle) and the result is always spawn (or stay spawn in all these cases).

To work around this, you could do a
Condition - Trigger1 - Condition (condition of Trigger1) - Spawn - Check - Result

I can think of some non-gracious ways to work around this, but depending on ur modpack, it would probably be best to config the dragon nests spawn themselves. Was looking at the ice and fire's github, and dragon spawns come with world gen. So you'd have to config around the dragon roosts/caves spawn rates if you can.

If you have trouble spawning dragon nests, thats a biome problem.