Animation system mostly done

This commit is contained in:
2026-11-22 09:12:15 -03:00
parent 8a13854f39
commit 487d5ae2a9
7 changed files with 31 additions and 10 deletions
+1 -1
View File
@@ -595,7 +595,7 @@ const clip_channel = z.array(clip_keyframe).min(1).refine(
);
// an entity model animation (one of those in animations/<name>.animation.json) with only what the engine uses, see
// ANIMATION.md. values are as bedrock has them, mirrored on x from the engine's like models: rotation in degrees,
// docs/modding/entities/index.md#clips. values are as bedrock has them, mirrored on x from the engine's like models: rotation in degrees,
// added to a bone's own, position in pixels, and scale multiplying
const clip_schema = z.object({
id: z.string('must be a clip id like "my_mod:thing/walk"').regex(TAG_ID_PATTERN),