The EntityColorComponent class in @minecraft/server.
Class in @minecraft/server
Extends EntityComponent
import { EntityColorComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”value: number;componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:color';