Snow Golem

Snow Golems are the game's first utility mobs.

Creation
To create a snow golem, the player must vertically stack two snow blocks on the ground and then place a pumpkin or jack o'lantern on top of them. The pumpkin must be placed last in order for the golem to spawn.

The creation of snow golems can be automated in vanilla survival since pumpkins can be placed by dispensers. 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 up to 15 snowballs upon death.

Behavior


Snow golems move towards hostile mobs and throw snowballs at them up to 10 blocks away, provoking them. The thrown snowballs do not do any damage, except to blazes. They do not purposely attack aggressive wolves, but they will attack zombie pigmen regardless of whether or not they attacked the player (but will not aggravate any others in the area). Snow golems do not follow the player.

Snow golems have good path-finding skills, and will not jump off cliffs or into lava. Snow Golems "melt" (take damage) in deserts, mesas, jungles, savannas, the Nether, and when in contact with rain or water; however they do not take fall damage.

As they move, they leave a trail of snow on the ground if the blocks can support it.

Snow golems can be put on leads and tied to fences.

Defense
A snow golem's primary purpose is to defend the player from hostile mobs. Here are a few examples of efficient ways to defend yourself and your valuables:

A horde of snow golems kept between two lines of fence provides a wall that constantly pushes back mobs at a distance, and in an emergency, they can be released to push back approaching enemies. Another way is to place them into guard towers, shielding them from damage. To create such a guard tower, make a small 3×3, 1-4 block high tower. Add another block 4 blocks up from the center to protect it from rain. Surround the top with fencing and create a snow golem in the center.

Trivia

 * Although snow golems will attack most hostile mobs, they will only agitate skeletons, spiders, cave spiders, witches, blazes, silverfish, endermites and creepers. Endermen simply teleport away.
 * Certain mobs act strangely when attacked by snow golems, namely zombies, spiders, cave spiders, silverfish, endermites, and wither skeletons. That is, they will only retaliate if hit while chasing a player, and the player did not hit the mob first. After that, the mob has a random chance to stand completely still, or hit the golem once before standing still. They will resume chasing the player if the snow golem is killed. This same behavior occurs when a zombie is chasing a villager, or when a mob is chasing an iron golem.
 * Iron golems can be agitated if the snow golem accidentally hits one or a villager while aiming at another mob. The same applies for wolves.
 * Snow golems wear their pumpkin as a helmet just like the player does. Their actual snowman-type head is hidden beneath it. If the player occupies the same space as a Snow Golem, its pumpkin helmet will be seen through, revealing their snowman-style face. The player can also go into spectator mode to see their snowman face.
 * The snowball throwing sound is actually a lower-pitched bow firing sound.
 * Snow golems cannot be made by pistons because the code for generating snow golems are found in the pumpkin`s "OnBlockPlace" (when placed by a player) event, and also pumpkins will be dropped as an entity when pushed by a piston.
 * Since snow golems take fire damage in hot biomes, a splash potion of fire resistance thrown immediately after the creation of one will make it survive.
 * Snow golems do not leave behind snow when they move on slabs.
 * Snow golems can be created by spawning in a falling sand entity with a tile ID of 86 and dropping it onto two snow blocks.
 * If a snow golem walks over a mushroom, the mushroom will be destroyed and dropped as an item.