Generator

A generator is a block that spawns mobs at a frequent rate in a close area around it. When on peaceful difficulty it seems to only spawn pigs, but will spawn hostile mobs when on other difficulty levels. So far they have only been found underground.