Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Addon API #9

Open
6 of 12 tasks
JustPyrrha opened this issue Mar 18, 2019 · 0 comments
Open
6 of 12 tasks

Addon API #9

JustPyrrha opened this issue Mar 18, 2019 · 0 comments
Assignees

Comments

@JustPyrrha
Copy link
Contributor

JustPyrrha commented Mar 18, 2019

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

@JustPyrrha JustPyrrha self-assigned this Dec 13, 2019
craftablescience referenced this issue in TeamGalacticraft/Galacticraft Feb 17, 2020
craftablescience referenced this issue in TeamGalacticraft/Galacticraft Feb 17, 2020
craftablescience referenced this issue in TeamGalacticraft/Galacticraft Feb 21, 2020
craftablescience referenced this issue in TeamGalacticraft/Galacticraft Feb 21, 2020
@JustPyrrha JustPyrrha pinned this issue Jun 15, 2020
@JustPyrrha JustPyrrha unpinned this issue Jun 27, 2020
@JustPyrrha JustPyrrha transferred this issue from TeamGalacticraft/Galacticraft Sep 12, 2020
@JustPyrrha JustPyrrha moved this to Done in Bugs Backlog Jun 23, 2022
@JustPyrrha JustPyrrha moved this from Done to Todo in Bugs Backlog Jun 23, 2022
@JustPyrrha JustPyrrha moved this from Todo to In Progress in Bugs Backlog Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant