This repository was archived by the owner on Jul 18, 2023. It is now read-only.
Description Creating an API to allow developers to make addons.
Addon devs would use Fabric's modImplementation system in their build.gradle
repositories {
maven { url = " https://cdn.hrzn.studio/maven" }
}
dependencies {
modImplementation(" com.hrznstudio:galacticraft:1.0.0" )
include modImplementation(" com.hrznstudio:galacticraft-api:1.0.0" )
}
And add GC:R to their fabric.mod.json
{
"depends" : {
"galacticraft-api" : " *" ,
},
"suggests" : {
"galacticraft-rewoven" : " *"
}
}
Devs would then use classes in the com.hrznstudio.galacticraft.api package to create their addons.
Documentation would is also required for this. It would include basic examples for the main features of the API along with a Javadoc.
Project
API
Docs
Edit (10/12/2019): Update to reflect the latest fabric-loom changes.
Edit (15/06/2020): Changed tasks and update install steps
Reactions are currently unavailable
Creating an API to allow developers to make addons.
Addon devs would use Fabric's
modImplementationsystem in theirbuild.gradlerepositories { maven { url = "https://cdn.hrzn.studio/maven" } } dependencies { modImplementation("com.hrznstudio:galacticraft:1.0.0") include modImplementation("com.hrznstudio:galacticraft-api:1.0.0") }And add GC:R to their
fabric.mod.json{ "depends": { "galacticraft-api": "*", }, "suggests": { "galacticraft-rewoven": "*" } }Devs would then use classes in the
com.hrznstudio.galacticraft.apipackage to create their addons.Documentation would is also required for this. It would include basic examples for the main features of the API along with a Javadoc.
Project
API
Docs
Edit (10/12/2019): Update to reflect the latest fabric-loom changes.
Edit (15/06/2020): Changed tasks and update install steps