
Help with datapacks?
Lumi-Nation opened this issue ยท 1 comments
Hi, I'm trying to make a datapack to allow the guns added by this mod to be classed as tools in the Traveler's Backpack mod for 1.19.2 but no matter what I do, I can't get it to work.
I've been able to make the datapack work with the original CGM guns, but for some reason, it has an issue with this mod, and Additional Guns, to the point at which it stops the CGM guns from working with the backpack mod.
I've attached images of each datapack below.
Could you please give me some pointers on how to make this datapack work?
There's no comma after "nzgmaddon:submachine_gun", resulting in an invalid JSON file. (line 31 in the first image) Adding a comma at the end of that line should fix this issue.
If you're confused or run into this kind of issue again, you can use a online JSON validator site (such as jsonlint) to check if the contents of your JSON file are valid. It's easy for even experienced modders to invalidate a JSON file by missing a comma somewhere - or adding one too many!