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