The SetDataFromColorIndexFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { SetDataFromColorIndexFunction } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Inherited
Section titled “Inherited”From LootItemFunction: conditions