Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Control validator confusion #454

Open
wExtraBenji opened this issue Oct 27, 2024 · 1 comment
Open

Control validator confusion #454

wExtraBenji opened this issue Oct 27, 2024 · 1 comment

Comments

@wExtraBenji
Copy link

wExtraBenji commented Oct 27, 2024

I've been trying to get my incontrol spawn file to work, so I put it through the control validator on the wiki (edit: I'm sorry I saw the source code link at the bottom after writing this :C )

What I put in was:

[
{
"mod": "ars_nouveau",
"result": "default"
},
{
"mod": "minecraft",
"hostile": true,
"mincount": {
"mod": "minecraft",
"hostile": true,
"amount": 15
},
"result": "deny"
},
{
"mob": "quark:foxhound",
"mincount": {
"amount": 2,
"perchunk": true
},
"result": "deny"
}
]

What I got out was:

[
{
"result": "default",
"mod": "ars_nouveau"
},
{
"result": "deny",
"mod": "minecraft",
"hostile": true,
"mincount": {
"amount": 15,
"mod": "minecraft",
"hostile": true
}
},
{
"result": "deny",
"mob": "quark:foxhound",
"mincount": {
"amount": 2,
"perchunk": true
}
}
]

When I used this, absolutely nothing hostile nor foxhounds spawned. Was wondering if this is a control validator issue or a me skill issue lol.

@McJty
Copy link
Collaborator

McJty commented Oct 28, 2024

The validator just checks that your json looks ok. It doesn't actually check that the rules are correct because it has no way to know what you actually want to achieve. Does the foxhound spawn naturally? i.e. if you didn't have this spawn.json, would the foxhoud spawn?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants