Lucas Alexander Posted December 28, 2024 Report Posted December 28, 2024 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.
Brady_The Posted December 28, 2024 Report Posted December 28, 2024 (edited) 6 minutes ago, Lucas Alexander said: Any help would be greatly appreciated. You are missing a comma after "block-decorice": "Ice" Edited December 28, 2024 by Brady_The 1
Lucas Alexander Posted December 28, 2024 Author Report Posted December 28, 2024 @Brady_The Thanks! Now I feel a bit like an idiot, lol. It's always the commas that get me. 1
Brady_The Posted December 28, 2024 Report Posted December 28, 2024 1 minute ago, Lucas Alexander said: It's always the commas that get me. We all have been and eventually will be again there.
Spear and Fang Posted December 30, 2024 Report Posted December 30, 2024 here I have lots of spares laying around ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Recommended Posts