Expand description
Shared movement synchronization state for tracked entities.
Structs§
- Entity
Movement Sync Packets - At most two movement packets are emitted for one tracked movement update: one body movement/rotation packet and one head-rotation packet.
- Entity
Movement Sync State - Per-entity movement sync state for tracked position and rotation.
- Entity
Movement Sync Update - Runtime values accepted by tracked entity movement sync.
- Entity
Position Sync Snapshot - Runtime values needed to build a vanilla position sync packet.
- Entity
Position Sync State - Per-entity position sync state shared by player and entity tracking.
- Entity
Rotation Sync State - Last packed rotation values known to tracking clients.
- Entity
Velocity Sync State - Per-entity velocity sync state for tracked entities.
- Packed
Entity Rotation - Packed body rotation used by entity movement packets.
- Server
Entity Movement Sync Result - Movement packets and side effects selected by one
ServerEntity.sendChangespass. - Server
Entity Movement Sync State - Per-tracked-entity movement state owned by the entity tracker.
- Server
Entity Movement Sync Update - Runtime values accepted by vanilla
ServerEntity.sendChangesmovement sync.
Enums§
- Entity
Movement Sync Packet - Concrete movement sync packet ready for broadcast.
- Entity
Position RotSync Packet - Position sync packet for entities that include rotation in delta updates.
- Entity
Position Sync Decision - Encoded position sync selected for an entity movement update.
- Entity
Position Sync Packet - Position sync packet for entities that do not include rotation in delta updates.
Constants§
- FORCED_
POS_ UPDATE_ PERIOD - Vanilla
ServerEntity.FORCED_POS_UPDATE_PERIOD. - FORCED_
TELEPORT_ PERIOD - Vanilla
ServerEntity.FORCED_TELEPORT_PERIOD. - POSITION_
SYNC_ THRESHOLD - Squared position delta needed before vanilla considers a movement worth syncing.
- VELOCITY_
SYNC_ THRESHOLD - Squared velocity delta needed before vanilla sends an entity motion packet.