Guide 1 Docs 2 Reference 3

Function of World

world.on_populate

Each chunk the overworld terrain made, once, after it made it.

world.on_populate(fn: (chunk: Chunk) -> ())

Parameters

fn(chunk: Chunk) -> ()required

Used in