Entity Packets
Packets for entity state synchronization — updates, animations, velocity, knockback, and model particles.
Summary
Section titled “Summary”| ID | Packet | Direction | Description |
|---|---|---|---|
| 160 | SetEntitySeed | S->C | Entity random seed |
| 161 | EntityUpdates | S->C | Entity state updates (compressed) |
| 162 | PlayAnimation | S->C | Play entity animation |
| 163 | ChangeVelocity | S->C | Set entity velocity |
| 164 | ApplyKnockback | S->C | Apply knockback |
| 165 | SpawnModelParticles | S->C | Model particles |
| 166 | MountMovement | C->S | Mount input |
SpawnModelParticles
Section titled “SpawnModelParticles”ID: 165 | Direction: S->C
Spawns particles attached to an entity’s model. The particles follow the entity’s skeleton.
| Field | Type | Description |
|---|---|---|
entityId | int | Entity network ID |
modelParticles | ModelParticle[] | Array of particle configs to spawn |
Each ModelParticle entry specifies a particle system and a TargetEntityPart: Self, Entity, PrimaryItem, or SecondaryItem.
API: See Model Particles and Adding Particles