Move trees out of cubi
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user