AntiPumpkin

AntiPumpkin automatically throws out pumpkins, jack o'lanterns, pumpkin seeds, and pumpkin pie, enchanted or not.

Drops one whole stack per tick while your inventory is open, including pumpkins in your hotbar or worn as a helmet. Names and enchantments do not affect which pumpkin items are dropped.