
InControl Error: Invalid command "type" for spawner rule!
Closed this issue ยท 4 comments
I'm trying to get mobs from "The Dawn Era" mod to spawn in biomes from the "Prehistoric Fauna" mod. I previously tried modifying the override config files provided by the modpack's creator, but no luck. Here's my current text for the spawner.json file:
[
{
"type": "forge:add_spawns",
"biomes":
["prehistoricfauna:hell_creek_bluffs",
"prehistoricfauna:hell_creek_hardwood_forest",
"prehistoricfauna:hell_creek_redwoods",
"prehistoricfauna:yixian_forest",
"prehistoricfauna:yixian_snowy_forest",
"prehistoricfauna:yixian_snowy_mountains",
"prehistoricfauna:yixian_volcano",
"prehistoricfauna:morrison_savanna",
"prehistoricfauna:chinle_wooded_mountains",
"prehistoricfauna:ischigualasto_forest"],
"spawners":
{
"type": "dawnera:tyrannosaurus",
"weight": 1,
"minCount": 1,
"maxCount": 1
}
}
]
Everything's fine until I load up the world I'm testing, and then it pops up InControl Error: Invalid command "type" for spawner rule! in the chat. I thought the "forge:add_spawns" thing was required? I copied it directly from the template :(
For what did you copy? "type" is not a thing in spawner.json. Also your entire spawner.json is wrong and looks like copied from ChatGPT or similar. Those AI tools are not good with this. Please check the wiki instead
For what did you copy? "type" is not a thing in spawner.json. Also your entire spawner.json is wrong and looks like copied from ChatGPT or similar. Those AI tools are not good with this. Please check the wiki instead
1 - fuck ai
2 - If it was ai, i honestly wouldn't know. This is my first time attempting to "edit" a mod and I barely understand half this stuff, I'm just following whatever patterns I can suss out.
3 - I was following this guide (https://forge.gemwire.uk/wiki/Biome_Modifiers#Add_Spawns)
The documentatiion you need to follow is the wiki from In Control: https://www.mcjty.eu/docs/mods/control-mods/