OverviewPacketsServerboundDiagnostics ID 0x13B · 315Client → ServerTelemetry
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
| Field | Type | Description |
|---|
| Avg Fps | float32 (LE) | |
| Avg Server Sim Tick Time Ms | float32 (LE) | |
| Avg Client Sim Tick Time Ms | float32 (LE) | |
| Avg Begin Frame Time Ms | float32 (LE) | |
| Avg Input Time Ms | float32 (LE) | |
| Avg Render Time Ms | float32 (LE) | |
| Avg End Frame Time Ms | float32 (LE) | |
| Avg Remainder Time Percent | float32 (LE) | |
| Avg Unaccounted Time Percent | float32 (LE) | |
| Category Counters | varuint32 count + MemoryCategoryCounter[] | Length-prefixed sequence. |
| Entity Timings | varuint32 count + EntityDiagnosticTimingInfo[] | Length-prefixed sequence. |
| System Timings | varuint32 count + SystemDiagnosticTimingInfo[] | Length-prefixed sequence. |
| System Categories | optional byte + list[SystemCategory] | Presence flag on the wire; value omitted when absent. |
| Whisker Data | varuint32 count + ScopeDataSummary[] | Length-prefixed sequence. |
Structure of MemoryCategoryCounter
| Field | Type | Description |
|---|
| Category | MemoryCategory | |
| Current Bytes | uint64 (LE) | |
Structure of EntityDiagnosticTimingInfo
| Field | Type | Description |
|---|
| Display Name | string | |
| Entity | string | |
| Time In Ns | uint64 (LE) | |
| Percent Of Total | uint8 | |
| Position | optional byte + Vec3 | Presence flag on the wire; value omitted when absent. |
| Dimension | optional byte + string | Presence flag on the wire; value omitted when absent. |
Structure of SystemDiagnosticTimingInfo
| Field | Type | Description |
|---|
| Display Name | string | |
| System Index | uint64 (LE) | |
| Time In Ns | uint64 (LE) | |
| Percent Of Total | uint8 | |
Structure of SystemCategory
| Field | Type | Description |
|---|
| Category Name | string | |
| System Index | uint64 (LE) | |
Structure of ScopeDataSummary
| Field | Type | Description |
|---|
| Label | string | |
| Indentation | string | |
| Total High Cost Ns | uint64 (LE) | |
| Total Mid Cost Ns | uint64 (LE) | |
| Total Low Cost Ns | uint64 (LE) | |
Structure of Vec3
| Field | Type | Description |
|---|
| X | float32 (LE) | |
| Y | float32 (LE) | |
| Z | float32 (LE) | |
Notes