0x20 S20PacketEntityProperties
Updates an entity's generic attributes (movement speed, max health, knockback resistance, etc.).
Fields
| Field | Type | Description |
|---|---|---|
| entityId | VarInt | Entity ID |
| properties | List of Attribute | Attribute key-value pairs |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Entity ID | VarInt | |
| Number of Properties | int | |
| Per-Property | String + double + VarInt + Modifier[] | Attribute key, base value, modifiers |
MCP References
MCP
NetHandlerPlayClient.handleEntityProperties()Handler Interface
HND
INetHandlerPlayClientNotes
Attribute keys: generic.movementSpeed, generic.maxHealth, generic.knockbackResistance, generic.followRange, horse.jumpStrength, zombie.spawnReinforcements, etc. Movement speed can be read to predict horse speeds or detect speed-modified players.
implementation Implementation Cases
AntiBot
Read entity attributes (speed, health, attack damage) for bot detection and target info.
TargetInfo
Read entity attributes (speed, health, attack damage) for bot detection and target info.