Lightning Vector & Bounding Box Visualizations

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/lightning-debug
资源信息

Minecraft 版本: 1.21.8

平台: fabric

标签: game-mechanics optimization utility

资源介绍

Minecraft Debug Mod that adds commands to render boxes and vectors.

Commands

/renderbox <string> - Renders a box with the parameters parsed from a string in the format of examples below
/rendervector <string> - Renders a vector with the parameters parsed from a string in the format of examples below
/listboxes - Lists all boxes and their indexes
/listvectors - Lists all vectors and their indexes
/removebox <index> - Removes box at index
/removevector <index> - Removes vector at index
/clearboxes - Removes all boxes
/clearvectors - Clears all vectors

Examples

Rendering a box

/renderbox "SimpleCollisionBox{minX=0.0, minY=5.0, minZ=0.0, maxX=16, maxY=21, maxZ=16, isFullBlock=false}"

large bounding box example

Rendering a vector and a box

/renderbox SimpleCollisionBox{minX=-229.75, minY=6.0, minZ=-127.6875, maxX=-229.25, maxY=6.375, maxZ=-127.3125, isFullBlock=false}
/rendervector origin: -229.71166162514788,6.4,-125.36631179014836 direction: 0.0980876340918071,-0.5511781573295593,-0.8286021167303872

vector crossing through sandstone under lever emerging in air gap

Generating Render Strings

The odd input format is because this mod is currently built for a very specific purpose. To quickly render hitboxes and vectors for GrimAC from values copied through the Intellij debugger, as shown below.
showing copying vector debug text from trace variable in debugger
showing copying bounding box debug text from box variable in debugger
More Debug features coming soon!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
PlayerDetector

价格:0 墨喵币
下载量:0

查看详情
Village Nullifier

价格:0 墨喵币
下载量:0

查看详情
Apology Z

价格:0 墨喵币
下载量:0

查看详情
Colourful Earth

价格:0 墨喵币
下载量:0

查看详情