Replaces all blocks of one material with another material in the chunk.
The material to replace.
The material to replace with.