BookShelf

BookShelf - Minecraft Mod

Bookshelf

Bookshelf is a collection of library code, frameworks, utilities, and resources all combined, aiming to ease Minecraft modding. Many mods make use of the backbone within Bookshelf, including common features for efficiency and performance bound within this one mod.

Why Use a Library Mod?

Mods like Bookshelf are library mods, that allow many disparite mods to share the same code base. In doing this, development time can be reduced, complexity lowered, features tested more fully across a wide array of use cases, resulting in fewer bugs, and generally better performance.

Features for Players

Although primarily aimed at mod developers, Bookshelf includes several player-friendly features:

  • Debug commands such as /bookshelf hand to retrieve item IDs.
  • Enhanced datapack features, including crafting recipes that use durability loss instead of item consumption.

Features for Modders

Bookshelf offers a range of tools to assist mod developers:

  • Serialization for JSON, Network, and NBT formats.
  • A comprehensive utility functions library.
  • Registry manager supporting non-Forge registry types, debugging, and statistics tracking.
  • A variety of debug commands for streamlined testing.
  • New recipe types, ingredient types, and loot condition types for greater customization.
  • Loot modifier types and item predicates to enhance game mechanics.

Bookshelf's extensive resources make it an indispensable tool for mod authors, helping to simplify complex processes and improve mod functionality.

Compatibility

Minecraft: Java Edition

  • 1.21–1.21.1
  • 1.20–1.20.4
  • 1.19.x
  • 1.18.1–1.18.2
  • 1.17.1
  • 1.16.1–1.16.5
  • 1.15.2
  • 1.14.2–1.14.4
  • 1.13.2
  • 1.12.x
  • 1.11.2
  • 1.10.2
  • 1.10
  • 1.9.4
  • 1.9
  • 1.8.9
  • 1.7.10

Platforms

  • Fabric
  • Forge
  • NeoForge
  • Quilt

Supported environments

  • Client and server