Compatibility
Minecraft: Java Edition
26.2
26.1
1.21.5–1.21.11
Platforms
Tags
Creators
Details
Licensed MPL-2.0
Published last year
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.
🖥️ 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
📖 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


