In Control!

In Control!

96M Downloads

Make zombies appear in daytime on the overworld surface but not in illuminated areas.

Closed this issue ยท 0 comments

commented

Hi, sorry to bother you, but I've been looking at the wiki and GitHub for a couple of days now and I can't get this thing to work.

My intention is to make zombies spawn on the ground (regardless of the time of day or block) but not in illuminated areas (torches and other light sources). I've made them slower but with double the health.

I've been playing with the idea for a couple of days but haven't quite gotten it working. For now, this is it.

I can say that I have 0 idea about code or programming so I'm working on it.

spawner.json

[
{
"mob": "minecraft:zombie",
"persecond": 1,
"attempts": 10,
"amount": {
"minimum": 10,
"maximum": 20,
"groupdistance": 10
},
"conditions": {
"dimension": "minecraft:overworld",
"mindist": 24,
"maxdist": 128,
"minheight": 63
}
}
]

spawn.json

[
{
"mob": "minecraft:zombie",
"result": "allow",
"minlight_full": 0,
"maxlight_full": 15,
"minlight": 0,
"maxlight": 0,
"when": "finalize",
"healthmultiply": 2,
"speedset": 0.23,
"speedmultiply": 0.65
},
{
"mob": "minecraft:husk",
"result": "allow",
"minlight_full": 0,
"maxlight_full": 15,
"minlight": 0,
"maxlight": 0,
"when": "finalize",
"healthmultiply": 2,
"speedset": 0.23,
"speedmultiply": 0.65
},
{
"mob": ["minecraft:creeper", "minecraft:skeleton","minecraft:enderman","minecraft:witch","minecraft:spider", "minecraft:stray"],
"result": "deny"
}
]