SkillAgentSearch skills...

GalacticraftAPI

Addon API for modern versions of Galacticraft.

Install / Use

/learn @TeamGalacticraft/GalacticraftAPI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Maven metadata URL Team Galacticraft Discord Issues GalacticraftDev Twitch

Galacticraft API

The Galacticraft addon API.

Features

Here are a list of features, both planned and implemented.

  • [x] Celestial bodies.
  • [x] Celestial body registry.
  • [x] Celestial body display info.
  • [x] Atmospheric Info.
  • [x] Atmospheric Gases.
  • [ ] Rockets/Rocket parts.

Installing

In your mod's build.gradle (Groovy) or build.gradle.kts (Kotlin):

<details> <summary>Important Note</summary>

Replace {VERSION} with the version of Galacticraft you want to use.<br> Versions use the format MAJOR.MINOR.PATCH[-TYPE]+MC_VERSION, e.g. 0.1.0-alpha+1.14.4 & 1.0.0+1.15.1.<br> For more versioning information visit the semver website.

</details>
  1. Add the Team Galacticraft maven repository

    • <details> <summary>Groovy</summary>
       repositories {
           maven { url "https://maven.galacticraft.dev/repository/maven-releases/" }
       }
      
      </details>
    • <details> <summary>Kotlin</summary>
       repositories {
           maven("https://maven.galacticraft.dev/repository/maven-releases/")
       }
      
      </details>
  2. Add Galacticraft API as a dependency

    Mostly the same for both Groovy and Kotlin, adjust as needed

    dependencies {
        // add both the addon api and mod but only include the addon api 
        modImplementation("dev.galacticraft:GalacticraftAPI:{VERSION}")
        //modRuntimeOnly("dev.galacticraft:Galacticraft:{VERSION}") // not up yet
    }
    
  3. Add the Addon API to your fabric.mod.json in the depends section.

    {
        "depends": {
            "galacticraft-api": ">={VERSION}"
        },
        "suggests": {
            "galacticraft": ">={VERSION}"
        }
    }
    
View on GitHub
GitHub Stars16
CategoryDevelopment
Updated2y ago
Forks3

Languages

Java

Security Score

80/100

Audited on Jul 18, 2023

No findings