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.
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.
The following mods were built using Bookshelf and are powered by its code!
- Enchantment Descriptions - Adds in-game descriptions for enchantments to tooltips.
- Botany Pots - Adds pots that you can use to grow crops!
- Tips - Adds tips to various loading screens.
- Dark Utilities - Blocks and items with interesting effects and abilities.
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'
}
Bookshelf is sponsored by Nodecraft. Use code DARKHAX for 30% of your first month of service!