Expand description
The source formats: .ymodel (a skeleton of bones with cubes) and
.yanim (clips of keyframes). Java model space — pixels, y down, as
CubeListBuilder and PartPose (what Blockbench’s “Modded Entity”
makes); angles in degrees.
Structs§
- Anim
File - A
.yanim: clips by name. - BoneDef
- A bone: a pivot, a rest turn, cubes, and points to follow (locators).
- ClipDef
- One animation.
- CubeDef
- A box (
addBox), textured box-UV fromuv. - KeyDef
- A keyframe:
[x, y, z], or{ "value": [x, y, z], "ease": "smooth" }. - Model
File - A
.ymodel. - Tracks
Def - A bone’s keyframes: time in seconds (
"0.25") → value.