Witch

Witches are hostile mobs that utilize splash potions as their ranged weapon. They also use beneficial potions on themselves defensively.

Spawning
Witches can spawn anywhere in the Overworld at a light level of 7 or less, as well as in witch huts found in Swamp biomes. They are 2 times rarer that other hostile mobs such as zombies and skeletons, and as such have the same spawn rate as endermen.

Witch huts
Every witch hut spawns a witch inside during world generation. Afterwards, witches and only witches will spawn in the 7 by 9 by 5 area that is the witch hut. This is the size of the roof and one more block over the porch, and a bit down.

Villagers
A witch spawns when lightning strikes within 3-4 blocks of a villager.

Drops
When killed, witches may drop Glass Bottles, Glowstone Dust, Gunpowder, Redstone, Spider Eyes, Sticks, and Sugar. They drop 1–3 different item types, and 0-6 quantity of each, though with an overall maximum of six items total.

Witches can also drop Potions of Healing, Fire Resistance, Swiftness and Water Breathing, but only when they die while drinking that potion. They drop 5 experience when killed by a player or tamed wolf.

Behavior
Witches use splash potions offensively, and drink ordinary potions defensively. They have a search radius of 16 blocks.

Offense

 * They will throw Potions of slowness if the player is at least 8 blocks away and does not already have the Slowness status effect.
 * They will throw Potions of poison if the player's health is at least and is not already poisoned.
 * They have a 25% chance of throwing Potions of weakness if the player is within 3 blocks and does not already have the Weakness status effect.
 * If none of the above conditions are true, Witches default to using Potions of harming.

Defense

 * If set on fire, Witches drink a Potion of fire resistance.
 * When damaged, they will drink a Potion of healing.
 * When a Witch's head is under water, it will drink a Potion of water breathing.
 * When more than 11 blocks from a target, it will drink a Potion of swiftness to get closer and attack.

Witches are 85% resistant to splash potions of poison and instant damage.

Trivia

 * If a witch hits another witch with a potion, the witch who is hit will become angry and target the other witch, however it is impossible for either witch to kill the other (without help from a player) due to their use of healing potions and their resistance to each other's splash potions.
 * Witches have more drops than any other mob in the game.
 * Witches do not utilize the equipment in their huts, but they can be used by players.
 * The odds of a witch dropping the maximum amount of drops possible (6 items total) without a Looting enchantment are 1 in 81 (1.2%).
 * Witches are the only hostile mob that don't make sounds.
 * Witches are extremely difficult to kill via suffocation or cacti (though not impossible), due to their frequent use of healing potions.
 * When drinking a potion, a Witch's nose will point straight forward.