@pumpkin-plugins/terrain API / adaptive-budget / AdaptiveWorkBudgetOptions
Interface: AdaptiveWorkBudgetOptions
Defined in: adaptive-budget.ts:2
Options for a work budget that adapts to recent host load and measured work cost.
Properties
initialUnits
initialUnits:
number
Defined in: adaptive-budget.ts:4
Work units to allow before a cost measurement is available.
reserveMs?
optionalreserveMs?:number
Defined in: adaptive-budget.ts:8
Time to leave for the server and other plugins. Defaults to 5 ms.
tickDurationMs?
optionaltickDurationMs?:number
Defined in: adaptive-budget.ts:6
Length of one server tick in milliseconds. Defaults to Minecraft's 50 ms tick.