[❔]: Guide on how to use the API
Ryhon0 opened this issue · 6 comments
Question
The FAQ mentions an API modders can use to generate the assets, however there is no guide or wiki explaining how to use it
Optional: Details
No response
Thanks. I still need to know how to add it to a project. It would be useful if all this information was all in one place
well you add it like any other project, you can use curse maven and add modImplementation
To whoever is interested, this is how you add it:
// build.gradle
repositories {
maven { url "https://cursemaven.com" }
}
dependencies {
modImplementation "curse.maven:every-compat-628539:${every_compat_version}"
modImplementation "curse.maven:selene-499980:${moonlight_version}"
}
every_compat_version
and moonlight_version
can be found by clicking on a version on the CF files page and copying the id from the url from here:
https://www.curseforge.com/minecraft/mc-mods/every-compat/files
https://www.curseforge.com/minecraft/mc-mods/selene/files
I'll add that to the readme. If you go in files there's even a button that gives you those very same lines