Jump to content

Recommended Posts

Posted

I'm trying to expand my mod and I'm having some trouble with the lang files, I'm hoping someone here can help me. I originally had this, which worked:

{
	"block-decorice": "Ice"
}

but now, I'm trying to add a new item, stunted seeds. I've added the new item successfully, pretty much just wholesale copying the original seeds.json and changing the item-id to decorseeds, but when I try to update the lang files everything breaks - even decorice doesn't show its name anymore, just its item ID. I don't know what's going wrong. when I look at the item ID in game it looks like the ID I'm putting in here - the new carrot seeds are listed as "decor-ice-leaves:item-decorseeds-carrot", for example.

Here is the new lang file, which doesn't work: (I don't know why the indentation on the first two entries is weird, it's not that way in the actual file, it just happens when I copy-paste it in.)

{
	"block-decorice": "Ice"
	
	"item-decorseeds-carrot": "Stunted Carrot seeds",
    "item-decorseeds-flax": "Stunted Flax seeds",
    "item-decorseeds-onion": "Stunted Onion seeds",
    "item-decorseeds-spelt": "Stunted Spelt seeds",
    "item-decorseeds-turnip": "Stunted Turnip seeds",
    "item-decorseeds-parsnip": "Stunted Parsnip seeds",
    "item-decorseeds-rice": "Stunted Rice seeds",
    "item-decorseeds-rye": "Stunted Rye seeds",
    "item-decorseeds-soybean": "Stunted Soybean seeds",
    "item-decorseeds-pumpkin": "Stunted Pumpkin seeds",
    "item-decorseeds-pineapple": "Stunted Pineapple seeds",
    "item-decorseeds-cassava": "Stunted Cassava seeds",
    "item-decorseeds-amaranth": "Stunted Amaranth seeds",
    "item-decorseeds-bellpepper": "Stunted Bell pepper seeds",
}

Any help would be greatly appreciated.

Posted (edited)
6 minutes ago, Lucas Alexander said:

Any help would be greatly appreciated.

You are missing a comma after

"block-decorice": "Ice"
Edited by Brady_The
  • Thanks 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.