Bookshelf Raycast Module
Cast rays to detect block and entity hits, with voxel-accurate collisions.
介绍

🔦 Bookshelf Raycast Module
Cast rays to detect block and entity hits, with voxel-accurate collisions.
“Reality only reveals itself when it is illuminated by a ray of poetry.”
— Georges Braque
✨ Features
- Use voxel traversal algorithm for accurate collision detection
- Detect collisions with both blocks and entities
- Execute commands at collision points
About Bookshelf
This module is part of the Bookshelf library:
🧩 Find more in the Bookshelf Organization \
📦 Get the full Bookshelf Suite
Get involved
💬 Join our Discord \
🛠 Learn how to contribute
常见问题
Bookshelf Raycast Module 支持哪些 Minecraft 版本?
Bookshelf Raycast Module 支持 Minecraft Java 版 1.21.5–26.3,共 10 个版本。下载时注意选择和你游戏版本一致的文件。
Bookshelf Raycast Module 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Bookshelf 的其他作品
查看全部 →
Bookshelf Suite Bundle
The complete Bookshelf library in a single datapack: dozens of modules covering blocks, hitboxes, math, raycast, and more.
Bookshelf Block Module
Manipulate blocks with their states and NBT, and combine block properties.
Bookshelf View Module
Execute commands based on what an entity is looking at.
Bookshelf Math Module
Mathematical operations beyond what vanilla commands offer.
评论
登录后评论和评分