Skip to content

Interface: EntityAnimation ​

Defined in: packages/minerender/src/entity/EntityAnimation.ts:11

A clip of pose offsets, played with EntityObject.playAnimation or sampled directly.

Properties ​

PropertyTypeDescriptionDefined in
bonesRecord<string, EntityAnimationBone>Part name anywhere in a layer; root is the layer's root part.packages/minerender/src/entity/EntityAnimation.ts:18
layer?stringGeometry layer targeted by this clip; defaults to main. A main clip also poses selected layers without their own clip.packages/minerender/src/entity/EntityAnimation.ts:16
lengthnumberSeconds.packages/minerender/src/entity/EntityAnimation.ts:13
loopboolean-packages/minerender/src/entity/EntityAnimation.ts:14