Script API - v1.20.0
    Preparing search index...

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

    Hierarchy (View Summary)

    Index

    Properties

    entity: Entity

    The entity that owns this component.

    typeId: string

    Identifier of the component.

    value: number

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

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

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