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 Raycast Module

Cast rays in Minecraft datapacks to detect block and entity hits. Voxel-accurate collision detection with customizable callbacks.

"Reality only reveals itself when it is illuminated by a ray of poetry."

— Georges Braque

✨ Features

  • šŸŽÆ Precise detection: use voxel traversal algorithm for accurate collision detection
  • šŸ”„ Multi-target support: detect collisions with both blocks and entities
  • ⚔ Custom callbacks: execute commands at collision points

šŸ“š 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