Some burrowing snakes may have a hardened tip on their tail that they use to push against the ground to give them some leverage as they burrow new tunnels. Some snakes are vegetarians. No snake is a vegetarian, nor do any snakes eat vegetation. All snakes are carnivores, with diets, depending on species, ranging from arthropods, other invertebrates, fish, amphibians, reptiles, birds, or mammals. Some snakes are cannabalistic and will eat other snakes, including members of their own species.
All snakes have to eat live prey.
In the wild, snakes do not eat carrion. In captivity, however, most snakes who will eat rodents can be converted to feeding easily and willingly on prekilled rodents. This is more humane for the rodent and safer for the snake as many can be injured while catching and killing their prey. Captivity isn't natural, however. You get warts from touching frogs and toads.