This repository was archived by the owner on Jul 18, 2023. It is now read-only.
  
  
  - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
    This repository was archived by the owner on Jul 18, 2023. It is now read-only.
  
  
Addon API #9
Copy link
Copy link
Open
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
- Move API into its own module.
 - Separate artifact output for API.
 
API
- Dimensions (Planets, Moons, Solar Systems, etc)
 - Vehicles (Rockets, Buggies, etc)
 - Blocks (Launch Pads, Ores for other planets, etc)
 - Space Race Integration
 - Gear (Oxygen Mask, Thermal Gear, etc)
 - Unlocks (Schematics)
 - Gases (atmospherics)
 
Docs
- Dev Environment Setup
 - Basic Examples
 - Javadocs
 
Edit (10/12/2019): Update to reflect the latest fabric-loom changes.
Edit (15/06/2020): Changed tasks and update install steps
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
In Progress