In Control!

In Control!

74M Downloads

Modded Mobs not complying with spawn rules

InfinitysDaughter opened this issue ยท 1 comments

commented

I am a total noob with coding so I'm not sure what I'm doing wrong. I've studied the wiki but I'm still not sure what to do.

The code below should deny spawn of a mob from miscadditions in the over world, 2 from the same in the nether, allow a passive mob from endergetic to spawn in the end, and deny all other passive mobs in the end.

As far as I can tell, the only rule thats working is the deny passive mobs in the end. I ran the json through a validater and it said it was valid so I'm just confused. The names of the mobs are from a data dump file so they are valid, too. @w@ Thanks for any help!

[
{
"mob": ["miscadditions:grizzly_bear"],
"result": "deny"
},
{
"mob": ["miscadditions:magma_creeper", "miscadditions:nether_phantom"],
"dimension": -1,
"result": "deny"
},
{
"mob": ["endergetic:puff_bug"],
"dimension": 1,
"result": "default"
},
{
"passive": true,
"dimension": 1,
"onjoin": true,
"result": "deny"
}
]

commented

I had the same problem with pretty much every single version of control (tried them all) I experimented with the params till I found something that worked.
This is my config file for nether-ex, as the mod does not work correctly with my server software, I used incontrol to spawn it's mobs and other entities in by force.

Here's part of what potential spawn looks like, as an example:

{
        "dimension": -1,
        "block": "minecraft:netherrack",
        "mobs": [
            {
                "mob": "netherex:nethermite",
                "weight": 10,
                "groupcountmin": 1,
                "groupcountmax": 2
            }
        ]
    },
	{
        "dimension": -1,
		"block": "biomesoplenty:grass",
        "mobs": [
            {
                "mob": "netherex:mogus",
                "weight": 20,
                "groupcountmin": 1,
                "groupcountmax": 3
            }
        ]
    },
	{
        "dimension": -1,
        "block": "futureminecraf:soulsoil",
        "mobs": [
            {
                "mob": "netherex:frost",
                "weight": 5,
                "groupcountmin": 1,
                "groupcountmax": 1
            }
        ]
    }

Then to limit the spawns, Spawn.json only has:

{
    "dimension": -1,
    "mod": "netherex",
    "mincount": {
      "amount": 20,
      "mod": "netherex",
      "perchunk": true
    },
    "result": "deny"
  }