Skip to content

Getting Started with the DEV API

Adriaan edited this page Nov 6, 2020 · 4 revisions

This guide will allow you to setup the HLC API for usage inside your own mod.

build.gradle Setup

The HLC API is available on my maven, which means you can easily use it with Gradle (which Forge uses by default).

In your build.gradle file, find the section that's called repositories (this should be located above dependencies) and add the following to it (if this section doesn't exist, add it in):

maven { url = "https://maven.hypherionmc.me" }.

Inside dependencies, add the following two lines:

implementation 'net.hypherionmc:HyperLightingCore-MCVERSION:MODVERSION:api'
runtimeOnly 'net.hypherionmc:HyperLightingCore-MCVERSION:MODVERSION'

implementation adds the API to your project and runtimeOnly adds the actual mod to your environment without having to download it.

Warning, the HLC version found on the Maven will not work on a normal MC game.

When finished, save your build.gradle file and refresh your gradle. This will download and add the required files.

Once ready, proceed to one of the following guides:

Clone this wiki locally