MCBE
OverviewPacketsSetHealth
ID 0x2A · 42Server → ClientPlayer

SetHealth

Sets the local player's health directly. Largely superseded by UpdateAttributes for the health attribute.

set-health.bin
struct SetHealth {
  varint32                                     Health;
}

Structure

FieldTypeDescription
Healthvarint32

Notes

  • No special notes.