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.

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

Villagers
A witch spawns when lightning strikes within 3-4 blocks of a villager and the villager will despawn to give the effect of it turning into a witch.

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.
 * Baby villagers, when struck by lightning, will turn into adult witches