Skip to content

Setting Up

Leo edited this page May 26, 2024 · 3 revisions

import Tabs from '@theme/Tabs' import TabItem from '@theme/TabItem'

Setting Up

This guide is for learn how make a Guide with GuidebookAPI, this chapter is for setting up the implementation of the mod in a dev environment.

Repositories

Because i don't have any maven repo for myself we are using the modrinth api maven repository instead.

// In build.gradle repositories block
repositories {
     maven {
        url = "https://api.modrinth.com/maven"
    }
    // other repositories of the project...
}

Dependencies

Once you put the maven repository, in the dependencies block of build.gradle you put:

dependencies {
    modImplementation/implementation "maven.modrinth:guidebookapi:1.20.6-3.0.0-neoforge" // Or fabric if you're using the fabric version 
}

You can see better how use Modrinth maven here

Clone this wiki locally