Jack o'Lantern

"Jack-o'-lanterns: great looks, super powers."

- Alex Wiltshire

A jack o'lantern is a solid block that provides light.

Natural generation
Jack o’lanterns can spawn within taiga and snowy taiga villages in the piles of pumpkins which also generate there.

Obtaining
Jack o'lanterns can be mined with any tool, or without a tool, but axes are the quickest.

A jack o'lantern also removes and drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

To craft a jack o'lantern, the player must first place a pumpkin and use shears on it to turn it into a carved pumpkin.

Mobs
Zombies, zombie villagers, husks, skeletons, strays, wither skeletons, and zombie pigmen have a chance of wearing a jack o'lantern if they spawn during Halloween. If a mob wearing a jack o'lantern is killed using a tool enchanted with Looting, there is a chance equivalent to the level of Looting used to drop the jack o'lantern, up to a maximum of a 3% chance of a drop. The jack o'lantern will not give off light when being worn.

Light source
Jack o'lanterns have a luminance of 15 and the ability to provide light while submerged under water. Like most light sources, they melt snow and ice.

Building golems
Jack o'lanterns can be used to build snow golems and iron golems as shown below. Snow golems require snow blocks for their bodies, while iron golems require iron blocks. The jack o'lantern must be placed last or the golem cannot spawn.

Placement
Jack o'lanterns can be placed without a block under them. When placed, jack-o'lanterns automatically face the player. Jack o'lanterns can be placed on a transparent block.

Jack o'lanterns are transparent in their rendering only; otherwise they share the attributes of all opaque solid blocks. For example, mobs can spawn on them, they can suffocate mobs, and blocks attached to another block (such as torches and rails) can be placed on top of them or on their sides.

Block data
In Bedrock Edition, jack o'lanterns use the following data values: