Terraria item ID 1108. Terraria 1.4.5.7.
The Green Mushroom is a type of mushroom. It grows on Dirt, Stone, Mud, or regular Jungle grass in the Underground and Cavern layers. Unlike many plants, instead of broken by any attack, it has to be harvested with a pickaxe. Its sole purpose is to make Green Dye.
Description from the Terraria Wiki.