Move trees out of cubi

This commit is contained in:
2026-11-13 22:55:30 -03:00
parent d48fa8cca5
commit c74ddedd6e
23 changed files with 69 additions and 208 deletions
-9
View File
@@ -18,8 +18,6 @@ export interface WorldgenContext {
id: Id,
modify: (chunk: FeatureChunk, config: C, positions: Position[]) => Position[],
): void;
// every biome mods added, for what features read from them, like which trees grow
biomes(): FeatureBiome[];
}
// the order features run in, minecraft's decoration steps. features without one run in the last
@@ -42,13 +40,6 @@ export interface FeatureOptions {
biomes?: Id | Id[];
}
// a biome, as features see it
export interface FeatureBiome {
id: Id;
// its json's trees, see docs/modding/worldgen/biomes.md
trees?: { chance: number; kinds: string[]; wood: Record<string, string> };
}
export interface FeatureChunk {
// chunk coordinates
readonly x: number;