Snow Golem

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

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

The snow golem spawns at the location of the pumpkin when created horizontally.



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. There is also a remote possibility of a snow golem spawning naturally if a pumpkin happens to grow adjacent to two snow blocks.

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 biomes in the Nether. 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 and making it 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.

Snow golems do not take freezing damage from powder snow.

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 and wolves, but the snowballs still knock back mobs that they hit. With the exception of wolves, polar bears, llamas, pandas, dolphins, iron golems, and bees, snow golems also attack any neutral mobs regardless of whether they attacked the player.

Additionally, snow golems never intentionally attack the player.

The golem's snowballs can deal damage more than a knockback if the shot flys through a lava block.

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

ID




Entity data
Snow golems have entity data associated with them that contain various properties.

Trivia

 * 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 are very rarely spawned naturally in snow biomes; if two snow blocks spawn naturally with a patch of pumpkins, it can be possible to spawn a snow golem naturally.
 * They could also spawn in versions prior to 17w47a if a patch of carved pumpkins spawned in a snow biome, or if an enderman placed a carved pumpkin next to two blocks of snow. The chances of this are 1 in 5,000,000,000,000 (one in five trillion).