@pumpkin-plugins/apple-skin-pumpkin API / sync / SyncUpdate
Interface: SyncUpdate
Defined in: packages/apple-skin-pumpkin/src/sync.ts:15
What to send one player now. A field is missing when that value has not moved enough to send.
Properties
exhaustion?
optionalexhaustion?:number
Defined in: packages/apple-skin-pumpkin/src/sync.ts:19
The player's exhaustion level, when it moved by at least EXHAUSTION_THRESHOLD.
saturation?
optionalsaturation?:number
Defined in: packages/apple-skin-pumpkin/src/sync.ts:17
The player's saturation level, when it moved since the last packet.