Snow Golem

A snow golem is a snowman-like utility mob that helps defend against hostile mobs.

Creation
To create a snow golem, the player must stack two snow blocks, and then place, or dispense, a carved pumpkin, a jack o'lantern or an uncarved pumpkin. The building pattern can also work when arranged sideways or upside-down, as long as the pumpkin is the last one placed.



Endermen are capable of creating snow golems by placing the necessary blocks, although this is an extremely rare event because they do not do so deliberately.

Drops
Snow golems drop 0–15 snowballs upon death.

Behavior
Snow golems do not follow players. Snow golems have good path-finding skills; like most mobs, snow golems avoid cacti, fire, lava, and water. They avoid falling off cliffs, although they are immune to fall damage. Snow golems can be put on leads and tied to fences.

Snow golems "melt" (take fire damage) in biomes with a temperature greater than 1.0, or dry/warm biomes like badlands, deserts, savannas and in the Nether biomes. The Fire Resistance effect allows them to survive in these biomes.

They also melt (take damage) when in contact with rain or water.

A snow golem wears its carved pumpkin as a helmet, just like the player does: its actual head is hidden beneath. Shearing a snow golem removes the pumpkin, revealing its face. It does not drop the pumpkin. The pumpkin is not part of its ; a snow golem does not display its   or its. The player cannot give a snow golem a new pumpkin after shearing it off.

Uses


Snow golems move toward hostile mobs and throw snowballs at them up to 10 blocks away, provoking them. Thrown snowballs do not deal damage except to blazes, but the snowballs still knock back mobs that they hit. With the exception of wolves, polar bears, llamas, pandas, dolphins, and bees, snow golems also attack any neutral mobs regardless of whether they attacked the player.

Additionally, snow golems never intentionally attack the player.

Snow
As they move, they leave a trail of snow on the ground if the blocks can support it. They produce snow only in biomes having a temperature less than 0.81, which includes cold, snowy, and medium biomes (including the End though not jungle).

Data values
Snow golems have entity data associated with them that contain various properties of the mob.

Trivia

 * Iron golems become agitated and attack if a snow golem accidentally hits them or a villager while aiming at another mob.
 * Snow golems cannot be made by pistons because the code for generating snow golems are found in the pumpkin’s  ("placed by a player") event.
 * Snow golems were the first utility mobs to be added to the game.
 * Snow golems can be created by endermen, albeit this is incredibly rare without the guidance of players.