Wither

The Wither is a floating, three-headed, ghostly mob with a skeletal appearance. It is the second boss mob introduced, after the Ender Dragon, and is also a type of utility mob.

Spawning
It is possible to spawn a Wither using methods similar of utility mobs. By placing soul sand in a T shape (similar to that of the iron blocks for Iron Golems), and putting 3 Wither Skeleton heads on top of each three upper blocks, the Wither can be created. However, like the Snow Golem and Iron Golem, a Wither can't be created by pistons. One of the Wither Skeleton heads must be placed as the last component of the shape, as it won't spawn if the final component placed is soul sand.

When spawned, the Wither will flash blue and grow larger in size as its health bar fills from half to full. While in this state, the Wither cannot move and is immune to all damage. It is recommended for the player to walk away from the Wither to prepare for battle at this point. When this state ends, the Wither will create a very large explosion centered on itself which does not damage the wither, but deals enough damage to instantly kill a player in full diamond armor.

Behavior
The Wither is hostile to the player and all mobs except undead mobs (skeletons, zombies, Zombie Pigmen, Wither Skeletons and other Withers). When provoked by a skeleton or another Wither, either or both will only remain hostile toward each other for a moment before returning to friendly status. If spawned in the End, it will prefer to attack any nearby Endermen, but will attempt to pursue and attack the Ender Dragon if there are no nearby targets.

The Wither can move very quickly. Upon noticing a mob that it is normally hostile toward, the Wither attacks them with a projectile called the Wither Skull. Wither Skulls inflict a status effect called "Wither". This effect is similar to poison, except that it can actually kill the player and turns the health bar black, making it difficult to tell at a glance how many hearts are still full, it also slowly heals the Withers health. Note: Players can only receive the Wither effect on Normal or Hard. Each head fires individually, allowing a Wither to attack up to three different mobs at the same time. Withers need at least 5 block high airspace to fit, so spawning them in 4 or 3 block high room will cause them to be stuck and unable to shoot, unless the ceiling is made of only one layer, in which case a wither can just fly upwards and free itself. They will also suffocate in such position, enabling the player who created it to kill it with practically no effort, provided the blocks used are resistant to the explosion created by the Wither's health generation, such as Obsidian.

The Wither has a unique ability to destroy blocks similar to the Ender Dragon's ability. When near any block that can be destroyed by a player, it will produce an audible smashing sound. This sound is the same one used for zombies breaking down doors. This event can be triggered by having the Wither on one side of, for example, a wall, and the player on the other, so it must path through the wall to attack. The Wither will then destroy a 3x3 hole in the wall to pass through it. The Wither also destroys a 3x3x4 space around itself 20 game ticks (1s) after being harmed.

Unlike the Ender Dragon, the Wither's boss health bar is only shown when a player is looking in a direction of a Wither, at least in the current implementation, and it can also be seen through walls when the player is looking in the Wither's direction. Looking in the direction of the Wither will also change the color of the sky to a shade of amber. When reaching half health, the Wither will gain the "Wither Armor" effect, which makes it immune to arrows, as well as having a visual effect surrounding it similar to that of a Charged Creeper. However, this effect renders it unable to fly. The Wither, when calm, cannot fly; it simply hovers above the ground and cannot "jump" up a one-block gap. When angered by the player, the Wither will fly at the same height as the player. Like other undead mobs (zombies, skeletons, etc.), the Wither is harmed by Potions of Healing and healed by Potions of Harming. It also regenerates over time, even if no mob was afflicted by the "withering".

Wither Skull
The Wither shoots Wither Skulls, which look like extra heads of itself launched as projectiles and it can keep up a fairly constant barrage of them. Upon contact, a Wither Skull will explode, although with a blast radius much smaller than that of TNT or a Creeper. There are two types of Wither Skulls : a fast moving black one and a slow moving blue one. Similar to Ghast fireballs, the black Wither Skull cannot break blocks with a blast resistance above 20. The blue Wither Skull is shot only if the difficulty is set to normal or above, when the Wither is idle. It has a higher blast power than the black one and is powerful enough to break absolutely any block in the game but bedrock. If the explosion of a Wither Skull damages a mob or a player, it inflicts the withering effect, draining their health and healing the Wither. Note: The Wither will only gain health from the player if their hunger is above 18 points.

Combat
Because the Wither inflicts an awful lot of damage, the best equipment for combat is a diamond sword (Preferably enchanted with Smite. The Best Sword for the fight is a Smite V, Fire Aspect II, and Knockback II) Instant Health II Splash Potions, Strength II Splash Potions, one or two enchanted gold apples, a Bow (Preferably enchanted with Power, the best bow for the fight would be Power IV (V if obtained before 1.3), Punch II, Flame I, and Infinity I) and Diamond Armor (Blast Resistance IV resists the explosions, but Protection IV protects from the withering effect as well). Make sure to bring about a stack or two of arrows. Spawn the Wither, and quickly run away as far as possible, putting a large distance between you and the Wither. DO NOT stand near it when it is growing into its normal size. It will create a massive explosion when it is done,much bigger than that of TNT or a creeper. When it is finished, walk back and shoot at the Wither, and occasionally use your Instant Health II Splash Potions and at some point, eat your Enchanted Gold Apples. When the Wither drops to 50% health, use your Strength II Splash Potion and hit the Wither with your diamond sword until the Wither dies. This is a very effective way to kill the Wither, killing it in less then five minutes with not too much struggle.

An extremely easy way of killing the Wither is to dig out a 10x10 by 3 tall room and spawn 30 or so Snow Golems. The Golems act as a target for the Wither plus Snow Golems will also attack the Wither. Accompany this with your best sword (preferably with Sharpness and Fire Aspect enchantments), armor, and potions and you can kill him in under a minute taking little or no damage.

Another strategy is to obtain a diamond sword with Sharpness II and Fire Aspect I, and full iron armor with Protection I or greater. As far as potions go, get four or so Splash Potions of Healing II, and two Potions of Strength II. As long as the Wither is constantly battered from the start of the battle, stronger armor may be unnecessary.

Bugs

 * The Wither is not visually affected by the lighting level of the area, always being fully lit.
 * In invincibility mode, the shield is not correctly surrounding the most left and right head, probably due to insufficient graphics settings.
 * Even if the "/gamerule mobGriefing" command is set to "false", wither's projectiles will still destroy blocks.
 * When damaged and 'crunching' through blocks, both End portal frames and End portal blocks can be destroyed by the Wither.
 * Even if a mob or any entity is affected by Potions of Invisibility, the wither still knows where it is.
 * The wither can 'crunch' through fluids.

Trivia

 * The Wither does not spawn in 12w34a and 12w34b because it can crash the Java Virtual Machine.
 * If the Wither has nothing to shoot at, it will stay still, moving very rarely.
 * Potions of Invisibility do not prevent the Wither from noticing mobs.
 * The Wither can be damaged by the explosions of its own projectiles.
 * Dying from the Wither effect has its own death message: [playername] withered away.
 * Withers are unaffected by fire and lava (like Nether mobs), and do not drown.
 * The command will give the desired amount of mob eggs set to spawn a Wither. However, nothing happens when the player attempts to use it.
 * The Wither is classified as "undead" and therefore receives extra damage from a sword with the "Smite" enchantment.
 * It is possible to just walk forward calmly and the Wither's skulls won't hit the player, as it is constantly adapting its speed to its target.
 * The Wither Shield glows red when a Wither with the shield gets hit.
 * The sky in the overworld will turn slightly reddish when you look at it.
 * The Wither Skull explosions can even break obsidian. At its high blast resistance of 6000, it's a block known for its hardness and explosion resistance to TNT.
 * The only block the Wither cannot break is bedrock, (its blast resistance being 18,000,000) probably to prevent holes in the lowest bedrock layer which would give an access to the void.
 * Looting enchantment does not affect the Wither's Nether Star drop.
 * The Wither attacks all LIVING mobs, including living hostiles like Creepers, Spiders and even Ghasts, Endermen, and the Ender Dragon.
 * The Protection enchantment can block the Wither effect.
 * The Wither has its own painting that has instructions on how to build it.