Bookshelf Raycast
Bookshelf raycasting module for casting rays that react to block and entity collisions.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Bookshelf Raycast
</picture> 🔦 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
- ⚡ Custom Callbacks: Use voxel traversal algorithm for accurate collision detection. - ⚡ Custom Callbacks: 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.