In Control!

In Control!

74M Downloads

limiting zombie spawn per player

Annatune13 opened this issue ยท 0 comments

commented

[
{
"mob": [
"Zombie",
"minecraft:wolf"
],
"result": "allow"
},
{
"passive": true,
"result": "allow"
},
{
"result": "deny"
},
{
"dimension": 0,
"mob": "Zombie",
"mincount": {
"amount": 10,
"hostile": true,
"perplayer": true
},
"result": "deny"
}]

This is the code I'm using. The first half does exactly what I want it to. The second half about limiting the number of zombies per player doesn't do anything. I took it from an example on the updated wiki that limits skeletons per player if there's already 50 hostile mobs. Please help