Terraria item ID 591. Terraria 1.4.5.7.
Candy Cane Blocks are blocks that are dropped in stacks of 20โ49 from Presents obtained during the Christmas event, with a chance of 16.803% in pre-Hardmode and 15.683% in Hardmode. They have no value other than as building material, and in crafting Candy Cane Wall. Despite them both being Candy Cane Blocks, they do not "merge" when placed next to each other.
Crafted at Work Bench. Ingredients:
Description from the Terraria Wiki.