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


