Biome tags

This commit is contained in:
2026-10-11 12:13:07 -03:00
parent 1623b91ddf
commit fa969e0a96
12 changed files with 79 additions and 14 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ export class ModLoadError extends Error {
}
}
// whether a block, item or entity is registered, for tags. air isn't a registered block, but tags can hold it
// whether a block, item, entity or biome is registered, for tags. air isn't a registered block, but tags can hold it
export function is_registered(registry: TagRegistry, id: string): boolean {
return (registry === "blocks" && id === "bworld:air") || EverythingRegistry.get(registry, id) !== undefined;
}