Bookshelf
Bookshelf is a comprehensive collection of code, frameworks, utilities, and other resources for Minecraft mod developers. Numerous mods actively utilize Bookshelf's code as a foundation for creating their own game extensions.
Why Use Library Mods?
Library mods like Bookshelf enable modifications that appear unrelated on the surface to share common code components. This significantly reduces the time and effort required to develop specific mods and their features. Moreover, the library code undergoes extensive testing across diverse gaming environments and communities, contributing to fewer bugs and improved performance in mods built upon it.
Features for Players
Although this mod is primarily oriented toward developers, it also offers several useful functions for players:
- Debug commands, such as /bookshelf hand to get item IDs in hand
- Enhanced datapack support, including new crafting mechanics, for example, recipes that damage durability tools rather than consuming them entirely
Tools for Developers
The mod provides an extensive set of features for mod creators:
- Data serialization for JSON, network protocols, and NBT formats
- Universal utility functions for general purposes
- Registry manager with support for non-standard Forge registries, debugging capabilities, and statistics collection
- Extended command system for debugging
- New crafting recipe types
- Advanced ingredient types
- Additional loot generation conditions
- Global loot modifier updaters
- Enhanced item predicates
For complete information about available features, we recommend consulting the official GitHub repository and project wiki.