Move world generation outside the engine and into mods and data files
This commit is contained in:
@@ -40,6 +40,11 @@ export function mod_sources(mods_dir: string): ServerModSource[] {
|
||||
tags: mod.tags.map((t) => t.json),
|
||||
loot_tables: mod.loot_tables.map((t) => t.json),
|
||||
biomes: mod.biomes.map((b) => b.json),
|
||||
noises: mod.noises.map((n) => n.json),
|
||||
density_functions: mod.density_functions.map((d) => d.json),
|
||||
noise_settings: mod.noise_settings.map((n) => n.json),
|
||||
biome_sources: mod.biome_sources.map((b) => b.json),
|
||||
features: mod.features.map((f) => f.json),
|
||||
},
|
||||
server_url: url(scripts.server),
|
||||
worldgen_url: url(scripts.worldgen),
|
||||
|
||||
Reference in New Issue
Block a user