Class EntityColorComponent

Defines the entity's color. Only works on certain entities that have predefined color values (sheep, llama, shulker).

Hierarchy

Constructors

Properties

Constructors

Properties

entity: Entity

Remarks

The entity that owns this component.

typeId: string

Remarks

Identifier of the component.

value: number

Remarks

This property can't be edited in read-only mode.

componentId: "minecraft:color" = 'minecraft:color'

Remarks

Identifier of this component. Should always be minecraft:color.