Skip to content

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

Function: iterateLodSectionsAround() ​

iterateLodSectionsAround(blockX, blockZ, radius?): Generator<LodSectionCoordinate>

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

Iterates the containing section first, followed by the surrounding square in outward rings.

Parameters ​

blockX ​

number

blockZ ​

number

radius? ​

number = DEFAULT_LOD_GENERATION_RADIUS

Returns ​

Generator<LodSectionCoordinate>

Pumpkin Plugins documentation