MCBE
OverviewPacketsServerboundDiagnostics
ID 0x13B · 315Client → ServerTelemetry

ServerboundDiagnostics

serverbound-diagnostics.bin
struct ServerboundDiagnostics {
  float32 (LE)                                 AvgFps;
  float32 (LE)                                 AvgServerSimTickTimeMs;
  float32 (LE)                                 AvgClientSimTickTimeMs;
  float32 (LE)                                 AvgBeginFrameTimeMs;
  float32 (LE)                                 AvgInputTimeMs;
  float32 (LE)                                 AvgRenderTimeMs;
  float32 (LE)                                 AvgEndFrameTimeMs;
  float32 (LE)                                 AvgRemainderTimePercent;
  float32 (LE)                                 AvgUnaccountedTimePercent;
  varuint32 [] · MemoryCategoryCounter[]       CategoryCounters;
  varuint32 [] · EntityDiagnosticTimingInfo[]  EntityTimings;
  varuint32 [] · SystemDiagnosticTimingInfo[]  SystemTimings;
  optional byte + list[SystemCategory]         SystemCategories;
  varuint32 [] · ScopeDataSummary[]            WhiskerData;
}

Structure

FieldTypeDescription
Avg Fpsfloat32 (LE)
Avg Server Sim Tick Time Msfloat32 (LE)
Avg Client Sim Tick Time Msfloat32 (LE)
Avg Begin Frame Time Msfloat32 (LE)
Avg Input Time Msfloat32 (LE)
Avg Render Time Msfloat32 (LE)
Avg End Frame Time Msfloat32 (LE)
Avg Remainder Time Percentfloat32 (LE)
Avg Unaccounted Time Percentfloat32 (LE)
Category Countersvaruint32 count + MemoryCategoryCounter[]Length-prefixed sequence.
Entity Timingsvaruint32 count + EntityDiagnosticTimingInfo[]Length-prefixed sequence.
System Timingsvaruint32 count + SystemDiagnosticTimingInfo[]Length-prefixed sequence.
System Categoriesoptional byte + list[SystemCategory]Presence flag on the wire; value omitted when absent.
Whisker Datavaruint32 count + ScopeDataSummary[]Length-prefixed sequence.

Structure of MemoryCategoryCounter

FieldTypeDescription
CategoryMemoryCategory
Current Bytesuint64 (LE)

Structure of EntityDiagnosticTimingInfo

FieldTypeDescription
Display Namestring
Entitystring
Time In Nsuint64 (LE)
Percent Of Totaluint8
Positionoptional byte + Vec3Presence flag on the wire; value omitted when absent.
Dimensionoptional byte + stringPresence flag on the wire; value omitted when absent.

Structure of SystemDiagnosticTimingInfo

FieldTypeDescription
Display Namestring
System Indexuint64 (LE)
Time In Nsuint64 (LE)
Percent Of Totaluint8

Structure of SystemCategory

FieldTypeDescription
Category Namestring
System Indexuint64 (LE)

Structure of ScopeDataSummary

FieldTypeDescription
Labelstring
Indentationstring
Total High Cost Nsuint64 (LE)
Total Mid Cost Nsuint64 (LE)
Total Low Cost Nsuint64 (LE)

Structure of Vec3

FieldTypeDescription
Xfloat32 (LE)
Yfloat32 (LE)
Zfloat32 (LE)

Notes

  • No special notes.