@pumpkin-plugins/distant-horizons-support-pumpkin API / session/refresh / refreshOne
Function: refreshOne()
refreshOne(
state,peers,candidates,blocksBudget):boolean
Defined in: packages/distant-horizons-support-pumpkin/src/session/refresh.ts:27
Advances the first refresh from the tick's starting list that is still queued, by one builder step within the block budget, and caches the result once its terrain is still loaded.
Parameters
state
peers
candidates
Refresh[]
Refreshes queued when the tick started, in queue order.
blocksBudget
number
Returns
boolean
Whether a builder sampled terrain.