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 namespaced entity identifier, e.g. "minecraft:zombie".
Resolved animation controller definitions referenced by this entity.
Resolved animation definitions referenced by this entity (excludes controllers).
Map of animation shortname → full animation or controller ID.
The linked behavior pack entity, or undefined if none exists.
The display name for this entity from the en_US language file. Falls back to the identifier.
The unified entity view that contains this resource definition.
Resolved particle definitions referenced by this entity.
Map of particle shortname → full particle ID.
The list of render controller IDs used by this entity.
Resolved render controller definitions used by this entity.
Sound events for this entity from sounds.json.
Map of sound shortname → sound definition ID.
Represents a resource pack entity definition file (
entity/directory). Contains client-side rendering data: animations, textures, materials.Access via
entity.resourceon a unified Entity.Example