Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Installation (Development)

Command17 edited this page Feb 8, 2025 · 8 revisions

Add this to your repositories block in your build.gradle:

repositories {
    mavenCentral() // Only for configs

    maven {
        url = uri("https://repo.repsy.io/mvn/command17/modrepo")
    }
}

Add this to your dependencies block in your build.gradle:

dependencies {
    // Replace ENCHANTEDBOOKLIB_VERSION with your wanted version.
    // Common
    modImplementation "com.github.command17:enchantedbooklib:ENCHANTEDBOOKLIB_VERSION-common"

    // NeoForge
    modImplementation "com.github.command17:enchantedbooklib:ENCHANTEDBOOKLIB_VERSION-neoforge"
    forgeDependencies "blue.endless:jankson:1.2.3" // this needs to be added for your mod not to crash when using configs

    // Fabric
    modImplementation "com.github.command17:enchantedbooklib:ENCHANTEDBOOKLIB_VERSION-fabric"
}

Non Development:

Development:

Clone this wiki locally