Skip to content

@pumpkin-plugins/tab-display API / plugin / handleGeneratePhase

Function: handleGeneratePhase() ​

handleGeneratePhase(generatorId, phase, chunk): void

Defined in: tools/pumpkin-api/src/core.ts:293

Dispatch a world-generation phase to a registered chunk generator.

Parameters ​

generatorId ​

number

phase ​

GenerationPhase

chunk ​

ChunkBuffer

Returns ​

void

pumpkin-plugins documentation