Bookshelf

Bookshelf

230M Downloads

Bookshelf CurseForge Project Modrinth Project Maven Project

Bookshelf is a library mod that provides code, frameworks, and utilities for other mods. Many mods make use of Bookshelf and are powered by its code. The documentation for this mod can be found here.

Why use a library mod?

Library mods like Bookshelf allow seemingly unrelated mods to reuse parts of the same code base. This reduces the amount of time required to develop and maintain certain mods and features. Library code is also tested in a wider range of circumstances and communities which can lead to fewer bugs and faster code.

Built With Bookshelf

The following mods were built using Bookshelf and are powered by its code!

Maven Dependency

If you are using Gradle to manage your dependencies, add the following into your build.gradle file. Make sure to replace the version with the correct one. All versions can be viewed here.

repositories {
    maven { 
        url 'https://maven.blamejared.com'
    }
}

dependencies {
    // NeoForge
    implementation group: 'net.darkhax.bookshelf', name: 'bookshelf-neoforge-1.21.1', version: '21.1.0'

    // Forge
    implementation group: 'net.darkhax.bookshelf', name: 'bookshelf-forge-1.21.1', version: '21.1.0'

    // Fabric & Quilt
    modImplementation group: 'net.darkhax.bookshelf', name: 'bookshelf-fabric-1.21.1', version: '21.1.0'

    // Common / MultiLoader / Vanilla
    compileOnly group: 'net.darkhax.bookshelf', name: 'bookshelf-common-1.21.1', version: '21.1.0'
}

Sponsors


Bookshelf is sponsored by Nodecraft. Use code DARKHAX for 30% of your first month of service!