[Bug]Compatibility with Mod [In Control!]
LFMaozi opened this issue · 1 comments
Description
Mega Torch won’t correctly override and stop the spawn of mod [In Control!] when spawn condition is introduced (config aggressiveSpawnChecks = true).
Mod [In Control!]: https://www.curseforge.com/minecraft/mc-mods/in-control
[In Control!] is a a simple mod that gives you full control on where mobs are allowed to spawn. It is based on a rule system.
Basicly you add spawns in \config\incontrol\spawner.json and set spawn conditions in \config\incontrol\spawn.json .
Mega Torch functions normally with spawner, but, once a spawn conditions is introduced, the Mega Torch won't stop the spawn anymore.
Here's my testing code which spawn of husk should be blocked by Mega Torch while spider will spawn in the range of Mega Torch (time set night).
Testing code
spawner.json
[
{
"mob": "minecraft:husk",
"persecond": 2,
"attempts": 50,
"amount": {
"minimum": 3,
"maximum": 5,
"groupdistance": 15
},
"conditions": {
"dimension": "minecraft:overworld",
"mindist": 10,
"maxdist": 60,
"minheight": 20,
"maxheight": 150,
"maxthis": 30
}
},
{
"mob": "minecraft:spider",
"persecond": 2,
"attempts": 50,
"amount": {
"minimum": 3,
"maximum": 5,
"groupdistance": 15
},
"conditions": {
"dimension": "minecraft:overworld",
"mindist": 10,
"maxdist": 60,
"minheight": 20,
"maxheight": 150,
"maxthis": 30
}
}
]
spawn.json
[
{
"mob": ["minecraft:spider"],
"dimension": "minecraft:overworld",
"seesky":"true",
"result": "default"
}
]
Versions
Minecraft version: 1.18.2
Forge version: 40.2.1
Mod Torchmaster version: torchmaster-18.1.0
Mod In Control! version: incontrol-1.18-6.1.8