Log inGet started
World

Beechwood Brook: A Temperate Forest to Walk, with Trees, Undergrowth and a Forest Builder

README.md

Forest

Drop a whole temperate deciduous forest into a scene with one component: size, density, seed, stream, path, clearings, forest type, season, look and quality, each a single synced field, so every player who joins builds the same forest from the same settings. Put it on any entity: its position is the forest's centre.

local e = entity.spawnSynced("MyForest")
e.component.add("forestKit.Forest", {
    size = 160, density = "normal", seed = 42, stream = true, path = true,
    clearings = 2, forestType = "oakWoodland", season = "default", look = "real",
})

Change any field and the forest rebuilds to match, about 0.4 s after the last edit. Needs nothing else on its entity: it calls ForestBuilder.build itself and owns everything it spawns (temporary, local, torn down with the component). For your own path, clearings or hand-placed hero props, call ForestBuilder.build directly instead: see the package README.