Terraria item ID 266. Terraria 1.4.5.7.
The Sandgun is a pre-Hardmode ranged weapon that fires sand ball projectiles that are affected by gravity. Upon contact with an enemy or block, the sand ball turns into its respective form of block (if the space is not occupied). Its sand balls have varying effects depending on which sand block is used for ammunition: Its best modifier is Unreal.
Crafted at Furnace. Ingredients:
Description from the Terraria Wiki.