Pumpkin

"Part food! Part hat! All block."

- Alex Wiltshire

Pumpkins are blocks that appear on grass blocks, generated in random clusters in most Overworld biomes, though somewhat rarely.

Obtaining
Pumpkins can be mined with anything, but axes are the quickest.

When a pumpkin is pushed by a piston, it breaks and drops as an item.

Natural generation
Pumpkins can naturally generate with the terrain in any biome in the Overworld, requiring only a grass block with air above (clear of any plants such as flowers or grass) and can generate whether or not that grass block has a layer of snow cover. Practically speaking, this means that the occurrence of pumpkins in stony or sandy biomes, or in very grassy biomes with few clear grass blocks, is comparatively rare.

Pumpkins also naturally generate in woodland mansions.

Farming
Pumpkin farming strategies parallel those of melons. Planted pumpkin seeds grow a central stem that, after maturing, generates pumpkins randomly on adjacent vacant dirt/grass/farmland. If a pumpkin is harvested without also cutting the central stalk, another pumpkin will generate afterwards without requiring replanting or waiting for the stalk to mature again.

Pumpkin stems take around 10 to 30 minutes to fully develop. Bone meal can be used on pumpkin stems to become fully-grown, but will not produce a pumpkin immediately.

Mobs
Zombies, zombie villagers, skeletons, wither skeletons, husks, strays, and zombie pigmen have a chance of wearing a pumpkin if they spawn during Halloween. If a mob wearing a pumpkin is killed using a tool enchanted with Looting, there will be a chance equivalent to the level of Looting used to drop the pumpkin, up to a maximum of a 3% chance of a drop.

Helmet
A pumpkin can be equipped as a helmet without any actual armor value, but will instead function as a mask that allows the player to look at endermen without provoking an attack. When worn, they limit the player's viewing area to a mask pattern that resembles the pumpkin's carved face, except in the New Nintendo 3DS Edition.

Dispensers
Dispensers will equip a pumpkin on a player, mob or armor stand with an empty helmet slot, within the block the dispenser is facing.

Building golems
Pumpkins can be used to make snow golems and iron golems as shown below. Snow golems require snow blocks for their bodies, while Iron Golems require iron blocks. The pumpkin must be placed last or the Golem will not spawn.

Placement
Pumpkins cannot be placed without a block under them, but once placed, will remain even if the block underneath is mined away. When placed, pumpkins automatically face the player. Pumpkins cannot be placed on a transparent block.

Trading
Farmers will buy 8–13 pumpkins for an emerald.

Enchantments
Pumpkins can receive the following enchantments, but only through an anvil.


 * Curse of Binding
 * Curse of Vanishing

Trivia

 * The pumpkin is the only headgear that obstructs the player's view.