Lightning Vector & Bounding Box Visualizations

Mod

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

Server Game MechanicsLibraryOptimizationUtility

107 downloads
3 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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!


Project members

Axionize

Member

Details

Licensed ARR
Published 2 months ago
Updated a month ago