Animated textures !

This commit is contained in:
2026-10-07 19:11:44 -03:00
parent b6b10e35e2
commit fbc9266936
20 changed files with 555 additions and 25 deletions
+3
View File
@@ -17,6 +17,7 @@ import {
import { PLAYER_PARTS } from "./everything_registry.ts";
import { BUILTIN_MODELS, type ModelJson } from "./block_models.ts";
import { resolve_tags } from "./tags.ts";
import type { TextureJson } from "./texture_animation.ts";
import { BIOMES } from "./worldgen/overworld.ts";
export interface ModReport {
@@ -43,6 +44,8 @@ export interface LoadedMod {
textures: string[];
// absolute paths by texture id
texture_files: Map<string, string>;
// textures/<name>.json by texture id, for the textures that have one (see texture_animation.ts)
texture_json: Map<string, TextureJson>;
}
// dependencies before the mods that need them, otherwise alphabetical