Bookshelf provides code, frameworks, and utilities that other mods can use. Many mods make use of Bookshelf and it's shared code to power their own mods.
Library mods like Bookshelf allow many seemingly unrelated mods to share parts of the same reusable code base. This reduces the amount of time and effort required to develop certain mods and features. The shared code is also tested in a wider range of circumstances and communities which can lead to less bugs and a lower performance impact.
- Improved registry manager.
- Tile Entity with Client Syncing
- Serialization for JSON/Network/NBT
- Utility Functions
- New Recipe Types
- New Ingredient Types
- New Loot Conditions
- New Loot Modifiers
- New Item Predicates
- Debug Commands
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 {
// Forge devs
// EXAMPLE: compile "net.darkhax.bookshelf:Bookshelf-Forge-1.19.2:16.1.11"
// compile "net.darkhax.bookshelf:Bookshelf-Forge-MCVERSION:BOOKSHELF_VERSION"
// Fabric / Quilt devs
// EXAMPLE: modImplementation "net.darkhax.bookshelf:Bookshelf-Fabric-1.19.2:16.1.11"
// modImplementation "net.darkhax.bookshelf:Bookshelf-Fabric-MCVERSION:BOOKSHELF_VERSION"
// Common / MultiLoader / Vanilla
// EXAMPLE: compileOnly group: 'net.darkhax.bookshelf', name: "Bookshelf-Common-1.19.2", version: 16.1.11
// compileOnly group: 'net.darkhax.bookshelf', name: "Bookshelf-Common-MCVERSION", version: BOOKSHELF_VERSION
}
As of January 11th 2021 officially published builds will be signed. You can validate the integrity of these builds by comparing their signatures with the public fingerprints.
Hash | Fingerprint |
---|---|
MD5 | 12F89108EF8DCC223D6723275E87208F |
SHA1 | 46D93AD2DC8ADED38A606D3C36A80CB33EFA69D1 |
SHA256 | EBC4B1678BF90CDBDC4F01B18E6164394C10850BA6C4C748F0FA95F2CB083AE5 |