[1.12.2] Vampirism ignores spawn rules.
Closed this issue ยท 9 comments
Attempting to block vampirism vampires from spawning in the void biome, they just ignore the rule altogether and spawn anyway.
First: show me the rule file you use
Secondly: did you try to add 'onjoin':'true' to the spawn rules?
Thirdly: if this still fails its actually not a bug in In Control but in the other mod
I literally tried the bare bones spawn rule of the following.
{ "mod": "vampirism", "onjoin": true, "result": "deny" },
Vampires continue to spawn regardless. This rule does not do anything.
That really sucks cause vampirism is naughty and spawns its mobs in the void...
Doesn't it have configs itself to control this? If not I would contact the author of that mod and see how to fix this
It does not have configs for it. But I do believe I found one way to fix my issue. Vampires are considered passive for some reason so adding in the following code and doing a kill command on all the vampires caused no more to spawn in the void.
{ "passive": true, "biometype": "VOID", "result": "deny" },
I know it's a bandaid fix but it works for me nonetheless, I did the same with hostile mobs, since I don't want any natural spawns in the void biome anyway(for mystcraft I want void biome ages to never have spawns apart from mobs I bring in manually so this is perfect)
Hmm that's strange. Are you sure you got the MODID right then? Because if that last rule works then the first one you did should work too provided "vampirism" is right
I did check it, it is weird why the mod one didnt work but just doing global passive did, but regardless it seems to be fixed now. I guess this can be closed.
This is probably caused by Vampirism not inheriting their mobs from IMob by default. Forcing them to be IMob will resolve the issue.
See TeamLapen/Vampirism#199 and https://github.com/TeamLapen/Vampirism/wiki/IMob-issue