Thanks to the Village & Pillage Update, which released in 2019, it's also possible to purchase terracotta blocks from stonemason villagers. Villagers will take on the stonemason job if they claim a job site block near a stonecutter.