I'm trying to make it so my mob only spawns in groups of one, using the code below
event.getSpawns().withSpawner(EntityClassification.WATER_CREATURE, new MobSpawnInfo.Spawners(ModEntityTypes.KRAKEN.get(), OutvotedConfig.COMMON.ratekraken.get(), 1, 1));
However the maxcount is completely ignored, and it's very rare for the mob to only spawn in a group of 1, it usually does it in 2 or more. This happens for both normal creatures and water creatures.
The same applies to mincount in this code
event.getSpawns().withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(Enti