EntityVariantComponent Class
Extends
Used to differentiate the component group of a variant of an entity from others. (e.g. ocelot, villager).
Properties
value
read-only value: number;
Current value for variant for this entity, as specified via components.
Type: number
Warning
This property can throw errors when used.
Constants
componentId
static read-only componentId = "minecraft:variant";
Type: string
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for