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

Hierarchy (View Summary)

Constructors

Properties

Methods

Constructors

Properties

entity: Entity

The entity that owns this component. The entity will be undefined if it has been removed.

typeId: string

Identifier of the component.

value: number

Value of this particular color.

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

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

Methods