Add natural mob spawning for rotwalker

This commit is contained in:
2026-09-30 22:15:42 -03:00
parent 0052faa24d
commit a6fd508529
22 changed files with 714 additions and 7 deletions
+3
View File
@@ -12,6 +12,7 @@ import {
type ManifestJson,
type OreJson,
type RecipeJson,
type SpawnJson,
type TagJson,
validate_block,
validate_entity,
@@ -21,6 +22,7 @@ import {
validate_model,
validate_ore,
validate_recipe,
validate_spawn,
validate_tag,
} from "./mod_data.ts";
import type { ModData } from "./mod_loader.ts";
@@ -139,6 +141,7 @@ export function read_bmod(bytes: Uint8Array, file: string): Bmod {
items: checked(raw_data.items, "items", validate_item, problems) as ItemJson[],
recipes: checked(raw_data.recipes, "recipes", validate_recipe, problems) as RecipeJson[],
ores: checked(raw_data.ores, "ores", validate_ore, problems) as OreJson[],
spawns: checked(raw_data.spawns, "spawns", validate_spawn, problems) as SpawnJson[],
entities: checked(raw_data.entities, "entities", validate_entity, problems) as EntityJson[],
entity_models: checked(
raw_data.entity_models,