Skip to content

@pumpkin-plugins/distant-horizons-support-pumpkin API / lod/generation / iterateLodSectionsWithin

Function: iterateLodSectionsWithin() ​

iterateLodSectionsWithin(blockX, blockZ, radius, bounds): Generator<LodSectionCoordinate>

Defined in: packages/distant-horizons-support-pumpkin/src/lod/generation.ts:44

Iterates the containing section first, then the surrounding square in outward rings, clipped to the bounds.

Parameters ​

blockX ​

number

blockZ ​

number

radius ​

number

bounds ​

LodSectionBounds

Returns ​

Generator<LodSectionCoordinate>

pumpkin-plugins documentation