Jack o'Lantern

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

- Alex Wiltshire

A jack o'lantern (named Jack-O-Lantern in some versions) is a solid block that provides light.

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

A jack o'lantern will also be removed and drop 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 right-click it with shears 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 will be 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.

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 will 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 will not spawn.

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

Jack o'lanterns are transparent in their rendering only, which means that they have the attributes that all opaque solid blocks have. For example, 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: