In Control!

In Control!

82M Downloads

Can you increase spawns within Lost Cities and reducing spawns outside of them? (1.12.2)

Closed this issue ยท 5 comments

commented

Trying to do the above for a more realistic zombie apocalypse modpack. I've tried a few variations, none of them work. Either they're globally lower or globally higher. When I try to specify in potentialspawn, it just gives me an error. Any help would be appreciated.

Here's my current potentialspawn.json:
[
{
"dimension": 0,
"incity": true,
"mobs": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:husk",
"cyberware:cyberzombie"
],
"weight": 90,
"groupcountmin": 4,
"groupcountmax": 10
}
]
And here's my current spawn.json:
[
{
"mob": [
"minecraft:husk",
"minecraft:zombie_villager",
"minecraft:zombie",
"cyberware:cyberzombie"
],
"incity": true,
"result": "default"
},
{
"mob": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:husk",
"cyberware:cyberzombie"],
"mincount": {
"amount": 3,
"incity": false,
"perchunk": true
},
"result": "deny"
}
]

commented

1.12.2 is VERY long ago for me so I don't 100% remember but a few things. I don't think you can use incity in potentialspawn.
Also in spawn.json don't put 'incity' inside mincount. Thas is not a counting thing, so it has to go outside

commented

Alright, so I'm back to where I was, but thank you for helping me not stay in a wild goose chase. It seems like it doesn't matter where it is, "incity" isn't being taken into account. If you don't remember how it worked, all good, no worries, I will just utilize the spawners.
If I did any syntax mistakes, here's the updated code, as well as what I've tried on another attempt:
[
{
"dimension": 0,
# I tried incity right here too
"mob": [
"minecraft:zombie",
"minecraft:zombie_villager",
"minecraft:husk",
"cyberware:cyberzombie"
],
"mincount": {
"amount": 3,
"perplayer": true
},
"incity": false,
"result": "deny"
},
{
"dimension": 0,
# I also tried incity here
"mob": [
"minecraft:husk",
"minecraft:zombie_villager",
"minecraft:zombie",
"cyberware:cyberzombie"
],
"incity": true,
"result": "allow"
}
]

commented

Having the allow rule last doesn't make sense because mobs are allowed to spawn by default. You need to move the allow rule first (before the deny rule)

commented

Thank you, and I think I found the issue. I was using Lost Cities Squared, which was a revival mod, without realizing. Testing now

commented

HELL YEAH

It was just wrong version. Thank you for your help and patience, I'm a little slow :/