Jack o'Lantern

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

Breaking
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.

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

Mob loot
$$, zombies, zombie villagers, husks, skeletons, strays, wither skeletons, and zombified piglins 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 does not emit light while being worn.

Light source
A Jack o'lantern emits more light than the torch used to craft it. They emit the maximum possible luminance of 15. They also 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.

Enchanting
Jack o'lanterns can be enchanted with curses using an anvil.

ID