← Packet index

Packet 164

ClientboundDebugRendererPacket

Used to add/remove debug rendering objects.

Packet datagramWire order
HeaderID 164varuint
0Typestring · variable
1DebugMarkerDataDebugMarkerData · variable

Serialized fields

2 top-level fields
  1. 0TypeThe type of action (Invalid=0, ClearDebugMarkers=1, AddDebugMarkerCube=2).string
    1. "Invalid"Invalid
    2. "ClearDebugMarkers"ClearDebugMarkers
    3. "AddDebugMarkerCube"AddDebugMarkerCube
  2. 1DebugMarkerDataoptionalIf the action type is AddDebugMarkerCube, the marker data for the cube.DebugMarkerData
    1. 0TextString for what text to show at the locationstring
    2. 1PositionPosition for where the debug cube should show upVec3
    3. 2ColorColor of the debug cube to showColor
      1. 0Colorint32
    4. 3durationDuration (milliseconds) of the debug cube to showuint64

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.