Skip to content

@pumpkin-plugins/apple-skin-pumpkin API / sync / EXHAUSTION_THRESHOLD

Variable: EXHAUSTION_THRESHOLD ​

const EXHAUSTION_THRESHOLD: 0.01 = 0.01

Defined in: packages/apple-skin-pumpkin/src/sync.ts:6

How far exhaustion has to move before another packet is worth sending. AppleSkin's own server code uses the same threshold: exhaustion creeps up while a player walks or sprints, and the client is fine until the drift is visible.

Pumpkin Plugins documentation