You are currently on the unstable branch. Click here to go to safety.
Download
Choose Minecraft Version
1.21.1026.2v4.1.0
1.21.1026.1v4.0.1
1.21.101.21.11v3.2.2
1.21.101.21.10v3.2.2
1.21.101.21.9v3.2.2
1.21.101.21.8v3.1.1
1.21.101.21.7v3.1.1
1.21.101.21.6v3.1.1
1.21.101.21.5v3.0.2
Close

Bookshelf

Bookshelf is a library datapack for Minecraft. It's modular, so mapmakers can pick only the parts they need. This helps them create complex systems more easily.

Documentation Ā  Ā  Ā 


šŸ–„ļø Bookshelf Bitwise Module

Perform bitwise AND, OR, XOR, and NOT operations in Minecraft datapacks. Useful for flags, permissions, and compact data storage.

"Binary is a very simple numbering system, but it is incredibly powerful when used correctly."

— Alan Turing

✨ Features

  • šŸ”„ Operations: perform bitwise AND, OR, XOR, and NOT operations on integers
  • šŸ”¢ Counting: count the number of positive bits in an integer
  • šŸ“ Length: get the number of bits in an integer

šŸ“š Read the full documentation

šŸ“– About Bookshelf

This module is part of the Bookshelf Library:

🧩 Find more modules in the Bookshelf organization
šŸ“¦ Get the full Bookshelf Suite

šŸ¤ Get involved

šŸ’¬ Join our Discord community
šŸ›  Contribute via the contribution guide

Smithed

Copyright Ā© 2023-2026 Smithed
Not an official Minecraft product. Not approved by or associated with Mojang Studios