TeamWizardry / LibrarianLib

A library for the TeamWizardry mods
GNU Lesser General Public License v3.0
26 stars 21 forks source link
library minecraft


LibrarianLib
LibrarianLib
CurseForge Modrinth
Minecraft 1.17.1 LibrarianLib 5.0.0-alpha.10

Using LibrarianLib

Release builds:

repositories {
    mavenCentral()
}
dependencies {
    modImplementation "com.teamwizardry.librarianlib:<module>:<version>"
}

Snapshot builds:

repositories {
    maven { url = "https://s01.oss.sonatype.org/content/repositories/snapshots" }
}
dependencies {
    modImplementation "com.teamwizardry.librarianlib:<module>:<branch>-SNAPSHOT"
}

Modules

LibrarianLib is divided into multiple modules, each with a particular focus. You only need to depend on the modules you actually want to use, meaning you aren't faced with a monolithic (and potentially overwhelming) library.

Each module has a test/example mod, located in modules/<module name>/src/test/*, which can be a useful reference.

Here's a summary of the modules and what they do. Many modules will have their own readme file located in the modules/<module name> directory.

Core

Flagship features

Minor features

Contributing

This hasn't been ironed out completely, but see the CONTRIBUTING.md file