← Back to Index

ClientboundDebugRendererPacket (164)

Used to add/remove debug rendering objects.
Field Name Type Field Index Description
Type (Required) string 0 The type of action (Invalid=0, ClearDebugMarkers=1, AddDebugMarkerCube=2).
Enum Values:
Index Value
0 Invalid
1 ClearDebugMarkers
2 AddDebugMarkerCube
DebugMarkerData DebugMarkerData 1 If the action type is AddDebugMarkerCube, the marker data for the cube.

DebugMarkerData

Field Name Type Field Index Description
Text (Required) string 0 String for what text to show at the location
Position (Required) Vec3 1 Position for where the debug cube should show up

Vec3

Field Name Type Field Index Description
X (Required) float 0
Y (Required) float 1
Z (Required) float 2
Color (Required) Color 2 Color of the debug cube to show

Color

Field Name Type Field Index Description
Color (Required) int32 0
duration (Required) uint64 3 Duration (milliseconds) of the debug cube to show