Private
constructorReadonly
entityThe entity that owns this component. The entity will be undefined if it has been removed.
Readonly
typeIdentifier of the component.
Readonly
valueCurrent value for variant for this entity, as specified via components.
This property can throw when used.
Static
Readonly
component
Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager).
Example
entityVariantValue.js