World gen stuff

This commit is contained in:
2026-11-13 00:01:59 -03:00
parent e013fbe550
commit e8ca9753f5
25 changed files with 645 additions and 162 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ export function check_references(mods: LoadedMod[], engine_textures: Iterable<st
}
for (const { file, json } of mod.ores) {
uses(file, json.id, "block");
uses(file, json.replaces, "block");
for (const replaces of [json.replaces].flat()) uses(file, replaces, "block");
}
for (const { file, json } of mod.entities) {
if ((entity_owners.get(json.id)?.length ?? 0) > 1) {