Witch

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

Spawning
Witches spawn anywhere in the Overworld at a light level of 7 or less. Unlike most other mobs, they do not spawn in groups, only individually.

Witches rarely (0.075% chance each tick) spawn 10–45 purple magic particles above their heads.

Witch huts
Every witch hut spawns a witch and a black cat inside during world generation, which will never despawn. Afterwards, only witches (which may despawn) will spawn in the 7×9×7 area that is the witch hut. This is the size of the roof and one block over the porch, from one level below the floor of the hut to two blocks above the roof.

Witch huts generated before 1.8.1 have a spawn zone of only 7×9×5. Witch huts spawned on high ground also have a reduced or eliminated spawn zone height.

Villagers
When lightning strikes within 4 blocks of a villager, the villager despawns and a witch spawns in its place, giving the effect of it turning into a witch. This also works on baby Villagers.

Raids
Witches are able to spawn starting at wave 3-4 as part of more difficult raids.

They cannot spawn in easy difficulty.

Drops


Witches are a major source of potion ingredients. They can drop:
 * (12.5% chance)
 * (12.5% chance)
 * (12.5% chance)
 * (12.5% chance)
 * (12.5% chance)
 * (12.5% chance)
 * (25% chance)
 * They make 1–3 drops of 0–2 items each, for a maximum of six items total.

Each level of Looting increases the maximum items dropped by one for each of the 1–3 drops, leading to a maximum of 5 items per drop, and a maximum of 15 items total.

They drop 5 experience when killed by a player or tamed wolf.

Potions
Witches also have 8.5% chance to drop potions of healing, fire resistance, swiftness and water breathing as an equipment drop if killed while drinking that potion. Looting increases the chance by 1% per level.

Behavior
Witches use tier I splash potions offensively, remaining up to 10 blocks away from the target, and drink tier I ordinary potions defensively. They have a search radius of 16 blocks, and will also attack iron golems. Witches will be attacked by undead mobs if they accidentally provoke them using splash potions of poison, weakness, and slowness.

Offense
Each potion is thrown in a 2-3 seconds interval.
 * They will throw a splash potion of slowness if the player is at least 8 blocks away and does not already have the Slowness status effect. At maximum duration this effect will last for 1 minute 29 seconds.
 * They will throw a splash potion of poison if the player's health is at least and is not already poisoned. At maximum duration this effect will last for 44 seconds.
 * They have a $1/4$ chance of throwing a splash potion of Weakness if the player is within 3 blocks and does not already have the Weakness status effect. At maximum duration this effect will last for 1 minute 29 seconds.
 * If none of the above conditions are true, witches default to using a splash potion of harming, that causes up to damage.

Defense
On each AI tick when the witch is not already drinking a potion, it may choose to equip and drink a potion. Drinking the potion takes 1.6 seconds. It won’t be attacked during this time.
 * When under water and lacking water breathing, 15% chance of drinking a potion of Water Breathing.
 * When on fire or the last damage taken in the past 2 seconds was fire damage, and lacking Fire Resistance, 15% chance of drinking a potion of Fire Resistance.
 * If damaged, 5% chance of drinking a potion of Healing (heals ).
 * When more than 11 blocks from a target and lacking Swiftness, 50% chance of drinking a potion of Swiftness.

Witches are 85% resistant to some magical damage, including Poison, Instant Damage, and Thorns. In Bedrock Edition they are immune from poison.

Witches are the only mobs that can fight back ghasts when they shoot them.

In "Bedrock Edition" witches can locate players,iron golems and snow golems even if they are inside a maze.

Raids
During a raid the witches that spawn there will heal other illagers that have low health (anything about and below) with regeneration/healing splash potions.

Celebrating
If raiding witches or other mobs kill all the villagers in a village, they will celebrate their victory by jumping and laughing. Despite being human-like mobs, witches cannot open doors or utilize housing.

Data values
Witches have entity data associated with them that contain various properties of the mob.

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 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 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 lift up and point forward.
 * In Bedrock Edition, drinking witches hold the potion in their hand.
 * Baby villagers, when struck by lightning, will turn into witches and thus become adult-sized.
 * The player can see the short mouth of a witch from the side, only if they are drinking a potion and lifting their nose.
 * When the subject of witches dropping sticks was brought up, Dinnerbone jokingly replied that it's because witches are made of wood.
 * He later explained that it was a reference to this scene from Monty Python and the Holy Grail.