Terraria item ID 2896. Terraria 1.4.5.7.
Sticky Dynamite is an explosive that functions like Dynamite, but sticks onto any block on contact. If the block it sticks to is removed by some means, it will fall until it hits another.
Crafted at By Hand. Ingredients:
Description from the Terraria Wiki.