Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Implement JSON schema for config templates #349

Open
1 task done
CombatZAK opened this issue Jul 26, 2022 · 1 comment
Open
1 task done

[Feature Request]: Implement JSON schema for config templates #349

CombatZAK opened this issue Jul 26, 2022 · 1 comment
Labels
enhancement Enhancement to the mod

Comments

@CombatZAK
Copy link

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.
@CombatZAK CombatZAK added the enhancement Enhancement to the mod label Jul 26, 2022
@Epic428
Copy link
Member

Epic428 commented Jul 26, 2022

A json schema is definitely something we’re planning to implement. But also I have a little ground work laid for building a web based bee editor and sharing site. I just need to get our finalized api when we release the 1.19 update to finish out the editor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to the mod
Projects
None yet
Development

No branches or pull requests

2 participants