Bookshelf is a powerful library mod that provides a vast collection of
code, frameworks, utilities, and resources for other mods to utilize. By
utilizing Bookshelf's code base, mods can save significant development
time and effort, while also benefiting from a more thoroughly tested and
optimized code base. Although primarily designed for mod authors,
Bookshelf offers some useful features for players as well, such as debug
commands like /bookshelf hand for obtaining item IDs and new datapack
features, including crafting recipes that damage items with durability
instead of consuming them. With its broad range of functionalities and
benefits, Bookshelf is an essential tool for any serious Minecraft
modder.
Features for Modders
Serialization for JSON/Network/NBT formats.
Utility Functions.
Registry manager, including non-forge registry types, debugging, and statistics.
Debug commands.
New recipe types.
New ingredient types.
New loot condition types.
New loot modifier types.
New item predicates.
Command: /bookshelf hand
This is a debug command added by Bookshelf. You can use it to export game data of the held item in many different formats. For example the ingredient option will give you a JSON string that can be used in datapacks for things like recipe inputs.