Class EntityColorComponent

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

Hierarchy

Constructors

Properties

Constructors

Properties

typeId: string

Remarks

Identifier of the component.

value: number

Remarks

Value of this particular color.

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

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