Class EntityColorComponentBeta

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

Hierarchy

Constructors

Properties

Constructors

Properties

typeId: string
value: number

Remarks

The palette color value of the entity.

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.