Syntax help request
666lumberjack opened this issue ยท 3 comments
Hi, I'm trying to set up Bedrock Ore veins for Iron, Lead, Copper, Tin, Nickel and Uranium, and disable all others. I've been able to turn off most mods' ores by adding them to the oreModBlacklist in the main config, but the json files I've created in an attempt to disable vanilla ores aren't working. I'm assuming I'm just making an error somewhere in the syntax, but I'm not sure what exactly it is.
I have created pastebins of the two files below:
"name": "<nuclearcraft:ore",
"properties": {
"type": "tin"
}
Are you sure <nuclearcraft:ore is proper name ? Maybe without < it will be better ?
And files in your minecraft/config/bedrockores directory have .json extension and NOT like in pastebin .json.txt , right ?
{
"enabled": true,
"state": {
"name": "minecraft:lapis_ore",
},
"weight": 0
}
Well ,i dont see why it wont disable lapis ore, but since it not working - maybe use
"enabled": false
instead of
"enabled": true
Maybe it will disable it finally.
Oh , waaaaait . This -
{"name": "minecraft:lapis_ore",}
The , before } Yeah. That pesky commas. Happened to me too. If {} border one thing , not several , comma have no place there and it ruins everything.