Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
只读typeId
typeId:string
备注
Identifier of the component.
只读value
value:number
备注
Current value for variant for this entity, as specified via
components.
Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager).