Bookshelf Bitwise

Bookshelf bitwise operations module, offering tools for precise binary data manipulation in datapacks.

663

Quick challenge

How far can you run before the mobs catch you?

Bookshelf Bitwise

<picture> <source media="(prefers-color-scheme: dark)" alt="Bookshelf" srcset="https://github.com/mcbookshelf/bookshelf/raw/master/docs/_imgs/banner-dark.png" width="600px"> Bookshelf </picture>
   

🖥️ Bookshelf Bitwise

A collection of various bitwise operations, providing versatile tools for manipulating binary data.

> “Binary is a very simple numbering system, but it is incredibly powerful when used correctly.” > — Alan Turing

✨ Features

- 📏 Bit Length: Perform bitwise AND, OR, XOR, and NOT operations on integers. - 📏 Bit Length: Count the number of bits to 1 in an integer. - 📏 Bit Length: Get the number of bits in an integer.

📚 Read the full documentation

📖 About Bookshelf

This module is part of the Bookshelf Library, a modular collection of Minecraft datapacks built to simplify complex systems and empower mapmakers.

🧩 Find more modules in the Bookshelf organization. 📦 Get the full suite Bookshelf Suite.

🤝 Get Involved

💬 Join our Discord community. 🛠 Contribute via the contribution guide.

ADS