The BlockMapColorComponent class in @minecraft/server.
Class in @minecraft/server
Extends BlockComponent
import { BlockMapColorComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly color: RGBA;Types
tintedColor
Section titled “tintedColor”read-only
readonly tintedColor: RGBA;Types
tintMethod
Section titled “tintMethod”read-only
readonly tintMethod: TintMethod;Types
componentId
Section titled “componentId”static read-only
static readonly componentId = 'minecraft:map_color';Inherited
Section titled “Inherited”From BlockComponent: block