← Назад к ресурсам
L

Lightning Vector & Bounding Box Visualizations

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

Modrinth game-mechanics optimization utility

Описание

Minecraft Debug Mod that adds commands to render boxes and vectors. ## Commands ``` /renderbox - Renders a box with the parameters parsed from a string in the format of examples below /rendervector - 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 - Removes box at index /removevector - 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](https://cdn.modrinth.com/data/cached_images/de1cefcd7ce4752eac77fbdea876ad0978ba4dc9.png) ### 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](https://cdn.modrinth.com/data/cached_images/f8059ad897d1bae2ffcb705bf2ef0a66ffee9ab7.png) ## 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](https://cdn.modrinth.com/data/cached_images/cf8af70c1ec30894ae6393696055ccabd13a65d0.jpeg) ![showing copying bounding box debug text from box variable in debugger](https://cdn.modrinth.com/data/cached_images/347d9f7b12f4979bba7f47bb31c302233c8821d2.jpeg) More Debug features coming soon!