This property can't be read in early-execution mode.
ReadonlyisValid
isValid:boolean
Remarks
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.
World Ready
This property can't be read in early-execution mode.
ReadonlytypeId
typeId:string
Remarks
Identifier of the component.
World Ready
This property can't be read in early-execution mode.
Readonlyvalue
value:number
Remarks
Current value for variant for this entity, as specified via
components.
Throws
This property can throw when used.
World Ready
This property can't be read in early-execution mode.
Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager).
Example: entityVariantValue.js