Skip to content

Entity Packets

Packets for entity state synchronization — updates, animations, velocity, knockback, and model particles.

IDPacketDirectionDescription
160SetEntitySeedS->CEntity random seed
161EntityUpdatesS->CEntity state updates (compressed)
162PlayAnimationS->CPlay entity animation
163ChangeVelocityS->CSet entity velocity
164ApplyKnockbackS->CApply knockback
165SpawnModelParticlesS->CModel particles
166MountMovementC->SMount input

ID: 165 | Direction: S->C

Spawns particles attached to an entity’s model. The particles follow the entity’s skeleton.

FieldTypeDescription
entityIdintEntity network ID
modelParticlesModelParticle[]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