Animation clips
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
import {
|
||||
type BlockJson,
|
||||
choice_list,
|
||||
type ClipJson,
|
||||
type EffectJson,
|
||||
entity_category,
|
||||
type EntityJson,
|
||||
@@ -64,6 +65,8 @@ export interface LoadedMod {
|
||||
spawns: { file: string; json: SpawnJson }[];
|
||||
entities: { file: string; json: EntityJson }[];
|
||||
entity_models: { file: string; json: EntityModelJson }[];
|
||||
// clips, see ANIMATION.md
|
||||
animations: { file: string; json: ClipJson }[];
|
||||
effects: { file: string; json: EffectJson }[];
|
||||
fluids: { file: string; json: FluidJson }[];
|
||||
tags: { file: string; json: TagJson }[];
|
||||
@@ -98,6 +101,7 @@ export function mod_data(mod: LoadedMod): ModData {
|
||||
spawns: mod.spawns.map((s) => s.json),
|
||||
entities: mod.entities.map((e) => e.json),
|
||||
entity_models: mod.entity_models.map((m) => m.json),
|
||||
animations: mod.animations.map((a) => a.json),
|
||||
effects: mod.effects.map((e) => e.json),
|
||||
fluids: mod.fluids.map((f) => f.json),
|
||||
tags: mod.tags.map((t) => t.json),
|
||||
|
||||
Reference in New Issue
Block a user