ReadonlydataThe raw parsed JSON data of the asset file.
ReadonlydocstringsAll JSDoc-style comment blocks parsed from this asset's source file,
in document order. Empty array when no /** … */ blocks are present.
ReadonlyfileAbsolute path to the asset's file on disk. Empty string in browser mode.
ReadonlyidThe full animation identifier, e.g. "animation.humanoid.move".
Represents a single animation definition loaded from a resource pack animation file. Multiple animations are defined per file; each is keyed by its full identifier.
Access via
addon.animations.get(id)or throughentity.resource.animations.