[Feature Request]: Implement JSON schema for config templates
CombatZAK opened this issue · 1 comments
Is your feature request related to a problem?
Getting JSON right is hard, and I'm lazy as all good software engineers should be. Debugging busted JSON files is also hard, and it's easy to overlook minor mistakes like casing.
Solution(s)
Most editors support following a $schema template when editing/creating JSON. This would make creating and modifying bees, traits, honey and other configurable options for this mod much easier.
Describe alternatives you've considered
Copying the templates from the wiki is another option, however it appears that there are missing features on the wiki that are supported by code, and settings drift between major versions is a real concern - specifically there is 0 documentation on how to implement bee auras in 1.16.5, even though it does seem to be supported (and a three hour walk through the source code confirmed this), but the wiki has no references to it, and it looks like the syntax changed at some point between 1.16.x and upcoming 1.19 (at least according to branch names).
Mod Version
0.10.7
Mod Loader Version
forge 1.16.5 - 36.1.32
Additional context
I'm happy to send a PR for this, if you think it would be a valuable feature but don't have the time or interest in adding it.
Acknowledgement
- I agree that I read the terms at the top of the page.