What type of sentence is the following sentence:

To build a treehouse, you would need wood, a hammer, a saw, and a lot of nails.

This is an imperative sentence.