-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add documentation for the mod #3
Comments
Hello, and thank you for showing interest in using this API mod! The reason it has no documentation is because its main purpose was supposed to be for helping me out with my own code for my mods, aka in other words, common code shared among my mods. Another main reason is because of how frequently the code changes in the API, so I don't really feel like documenting each change/update/feature for each game version. However if you wish to use this API anyways, I can give you a quick head-start on how to use the API.
After you've embedded the mod, you're now good to move on:All API classes are found in the Also as for that
As for the GUI part
Important to keep in mind, Also, here's an example code snippet for creating your own To display a So yeah, that should be a brief rundown of the GUI API I made for my mods. Keep in mind that things may change in the code, and the last thing I want is to accidentally break someone else's mod. As for the Again, thanks for showing interest in using this API and for suggesting a documentation. If you have further questions or need help with using API, feel free to ask (as for Forge tho, Forge is a mess of a rushed port, I have no idea how to mod on Forge). Have a great day! |
I don't plan on making Forge mods, only Fabric, so the Forge-related issues aren't a problem. I'm trying to make a config structure with a suitable GUI that is similar to this one: This image is the config of the mod AutoReconnect You can multiple "AutoMessages objects" to the How do I make a config and a corresponding GUI similar to this one using the TCDCommons API? |
Yes, I can try to help you out there.
Important to know: Here's an example code snippet I used in my No Unused Chunks mod for letting users modify its config values. Tho, I have since moved on from Also, as for that config feature I have in my own Tho I wouldn't really recommend you use And, for handling config logic, I'd also recommend you look into how Auto Config API works. |
yes, I do know that it uses Cloth Config API
|
Oh. I was not aware of the things you brought up to me. Thanks for letting me know. Edit: |
Exactly |
Hmm, I just took a look at Thing is, as for my I also guess you could have a look a look at |
Yes, I am actually trying to accomplish it with YACL right now, but I have to use an entirely different approach as YACL does not support nested lists |
It may have taken me a year, but I have decided to finally start implementing a documentation for my mods. |
These links would be great to have on the readme! |
Hello! Right now I am working on a BSS update, so I'll focus on writing the documentations after that. |
Please add documentation for the mod
I saw the mod on modrinth, and then came to the repo, where the readme mentions that it has gui and config utilities, which would be really useful for me right now
Hence, I'm looking to use this mod, but don't know where to start
The text was updated successfully, but these errors were encountered: