Witch

Witches are hostile, ranged mobs that use potions both defensively and offensively. Witches spawn in witch huts, but they can also spawn in any dimly lit area. Witches are the second hostile ranged mob that spawns in the Overworld - the other being the skeleton.

Appearance
Witches have a similar appearance to villagers, and they wear purple and green robes with brown leggings underneath. They have large noses (which move slowly around on the Witch's face) with a single wart and have lavender colored eyes. Witches have smaller mouths than villagers. They wear a stereotypical witch hat with a green buckle on it, and their skin is slightly paler than that of a normal villager. In addition, witches periodically give off purple star particles similar to the villager's green stars.

Uses
When killed, witches can drop a great number of items, including Glass Bottles, Glowstone Dust, Gunpowder, Redstone, Spider Eyes, Sticks, and Sugar. They drop 1–3 item types, each 0–2 times. The same type can be chosen multiple times, therefore it is possible to get up to six of one item, or up to two of 3 different items.

Witches also rarely drop Potions of Healing, Fire Resistance, Swiftness and Water Breathing, but only when they are killed while drinking that potion.

Combat
The witch mob uses splash potions of poison, weakness, harming, and slowness to fight the player. They will throw potions of slowness if the player is at least 8 blocks away and does not have the Slowness status effect. They will throw potions of poison if the player's health is at least and is not poisoned. They have a 25% chance of throwing potions of weakness if the player is within 3 blocks and does not have the Weakness status effect. If none of these conditions are true, they default to using potions of harming. These potions will affect other mobs - not just the player. The witch does not burn in sunlight and when set on fire, drinks a potion of fire resistance. This can be seen when a bottle appears in the witch's hands. Utility mobs will attack witches as most other hostile mobs.

Witches are almost immune (85% damage resistance) to splash potions of poison and instant damage. When damaged, they will drink a potion of healing, healing themselves. When drinking a potion, a witch's nose will point straight forward (instead of down). While healing they can't attack the player. If lit on fire by lava or fire, witches will quickly drink a potion of fire resistance, making lava and fire ineffective ways of killing witches. When a witch's head is in water, it will drink a potion of water breathing. When a witch's target is 11 or more blocks a way, it will drink a speed potion to catch up with the target.

A bow will likely be the best weapon for dealing with a witch, as the splash potions have only a short range (at most 12 blocks) compared to arrows (which, when fired straight at full charge, travel 24 blocks). If a bow is not an option, a direct melee charge is the best option; When a witch sees a player from a distance (11-16 blocks away from her), she will try to drink a speed potion, giving the player time to sprint-jump in a straight line towards her. By the time the witch finishes consuming the speed potion, the player will be in range to kill her with jump-attack sword (even wooden sword) hits from the same block to increase correct aiming. The witch will try to heal herself the first 4 to 5 seconds, then trow her first harmful potions. But when all sword hits are aimed correctly, the player should be safe from them.

Trivia

 * A witch, like all mobs, can be geared using /summon, however they are partially like zombies and skeletons; they show the weapon they carry in their hands, see the picture below
 * If a witch shoots 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 mob drops than any other mob in the game.
 * Witches have the most health of any normally aggressive mob other than boss mobs. They also have the third most health of any mob that spawns naturally in the Overworld, behind Endermen and Iron Golems.
 * Witches are one of the two naturally spawning mobs to regenerate health. The second being the Horse. The boss Wither also heals over time.
 * Obviously, witches do not utilize the equipment in their huts though it is completely usable to players.
 * Unlike villagers, witches will despawn when the player is out of range since they are hostile mobs.
 * Witch Huts are similar to the hut of Baba Yaga (a general name for witch in Slavic folklore) that stood on chicken legs.
 * 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%).
 * They are the only hostile mob that doesn't make sounds.
 * Witches are extremely difficult, though not impossible, to be killed by suffocation or cacti, due to their frequent use of healing potions.
 * If another naturally generating structure, such as a desert or jungle temple, spawns in close proximity with a swamp biome, there is a chance that multiple witches may also spawn inside them.
 * It's possible to get a witch to hit a zombie villager with a splash potion of weakness, then cure the villager. This eliminates the need for gathering materials from the Nether; both mobs spawn rarely, making this a more useful technique for attaining otherwise impossible to find villagers in resource-constrained maps, e.g. SkyBlock, nether-restricted servers, etc.
 * Witches are one of the four mobs that give a debuff to the player. The other three being the Wither, the Cave spider, and the Wither skeleton.
 * They are also the only mob that can give more than one type of debuff.
 * All of the drops are used in potion brewing, except sticks. This makes for an exceptional potion ingredient farm.
 * In creative mode, a large amount of witches can be spawned into a fenced area, then taunted into fighting by having a damaging potion thrown into their midst. Eventually all of the witches will fight each other because more of them are damaged each time another witch throws a potion.
 * If a game is started on peaceful then switched to a higher difficulty, all witch huts will be empty. This is because witches spawn with their huts at the beginning of the game.
 * If your view distance is greater than 8 then newly created terrain (including any witch huts and the witch that spawns with it) will be more than 128 blocks away, presumably causing the witch to immediately despawn. Even at range 8 it would happen unless the hut was perfectly lined up with you on the x or z axis.