setCustomModelDataColor

fun ItemStack.setCustomModelDataColor(index: Int, value: Color)

Sets the CustomModelData.colors at the given index to value. Fills all intermediary indices with DEFAULT_COLOR if necessary.