Lightning Vector & Bounding Box Visualizations — Minecraft Mods — MetaMods
Lightning Vector & Bounding Box Visualizations

Lightning Vector & Bounding Box Visualizations

Active

Downloads

0

Last update

2 months ago

Versions

1.18 — 1.21.8
Server
Fabric
Game mechanics
Game optimization
Utils

Lightning Vector & Bounding Box Visualizations

This debug mod for Minecraft provides tools for visualizing objects in three-dimensional space using special commands. An ideal solution for developers who need precise display of boundaries and directions.

Main Commands

The mod includes the following control commands:

  • /renderbox <string> — creates visualization of a bounding box based on specified parameters
  • /rendervector <string> — displays a vector with specified characteristics
  • /listboxes — shows a list of all active boxes with their indices
  • /listvectors — displays a list of all vectors
  • /removebox <index> — removes a specific box by index
  • /removevector <index> — removes a selected vector
  • /clearboxes — clears all boxes
  • /clearvectors — removes all vectors

Practical Examples

Creating a Bounding Box

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

large bounding box example

Simultaneous Display of Vector and 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

Render Parameter Format

The special input format is related to the highly specialized purpose of the mod. It is optimized for quickly creating visualizations of hitboxes and vectors from values copied through the Intellij debugger, as shown in the examples below:

showing copying vector debug text from trace variable in debugger showing copying bounding box debug text from box variable in debugger

New debug features coming in upcoming updates!

Project members
Axionize

Axionize

Developer

Created: 16 Sep 2024

ID: 59290