Compatibility
Minecraft: Java Edition
Platforms
Data Pack
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details

🔦 Bookshelf Raycast
Cast rays and detect collisions with blocks or entities.
"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 and on targeted objects.
📖 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.