Improve crops system

This commit is contained in:
2026-09-26 18:32:38 -03:00
parent e22f12c0b6
commit 0fa6ec4ed3
15 changed files with 394 additions and 31 deletions
+1
View File
@@ -107,6 +107,7 @@ export function check_references(mods: LoadedMod[], engine_textures: Iterable<st
}
}
if (json.drops) uses(file, json.drops, "item");
for (const id of json.place_on ?? []) uses(file, id, "block");
}
for (const { file, json } of mod.models) {
if ((model_owners.get(json.id)?.length ?? 0) > 1 || BUILTIN_MODELS[json.id]) {