Vindicator

"Here's Johnny!"

- Marsh Davies

Vindicators are hostile illager mobs that spawn in woodland mansions, illager patrols, and raids. They are equipped with iron axes.

Woodland mansions
Vindicators spawn during the generation of woodland mansions, in particular rooms. Some rooms will contain 1, others will contain 3, and some will contain 2 accompanied by an evoker. They will not respawn after their initial spawn, thus there are a limited number of them per world. Vindicators that are generated with mansions do not naturally despawn.

Some vindicators may spawn with an enchanted iron axe, depending on the difficulty set: the chances go up as the difficulty goes up.

Illager patrols
Illager patrols spawn a maximum of five pillagers (weight 55) or vindicators (weight 27) 200 blocks away from villages on grass or sand with a block light level of 0–8 and a sky light level of 10–15.

Raids
Vindicators are able to spawn as part of raids.

Drops
Vindicators only drop loot when killed by a player or tamed wolf. They will drop when they die:
 * 0–1, with the maximum increasing by 1 for every level of Looting.
 * 8.5% chance of dropping their, which increases by 1 percentage point per level of Looting.
 * 1 Illager Banner.png illager banner, if they spawn as a patrol leader in an illager patrol.

Behavior
Vindicators are hostile towards players, iron golems, villagers, and wandering trader. They will try to attack them, raising their main hand and brandishing an iron axe. When in pursuit of their target they will sprint toward them, slightly faster than the player's walking speed. When not attacking, they cross their arms similar to a villager, and don't show the axe in their hand.

A vindicator will not pursue the player through the iron door of any naturally occurring woodland mansion jail cells, and after a time, will cease hostility as long as the player remains inside.

If a vindicator is named Johnny (using a name tag, named spawn egg, etc., or has its  tag set to  ), it will be hostile to every mob, except for evokers, illusioners, pillagers, ghasts, illager beast and other vindicators. It will even be hostile to vexes and illager beasts. All mobs, except for endermites, phantoms, guardians, slimes, magma cubes and beasts, will try to attack the vindicator in return. The  tag overrides its name; the player can give the vindicator any other name and set the   tag to   and it will still be hostile in the same way as described. Conversely, you can name the vindicator Johnny and set the  tag to , and the vindicator will not be hostile as described; it will act as a normal vindicator.

Naming a vindicator spawn egg "Johnny" and it on a spawner will make the spawner spawn normal vindicators, not vindicators named Johnny.

Data values
Vindicators have entity data associated with them that contain various properties of the mob. Their entity ID is.

Trivia

 * According to Jeb, naming a vindicator "Johnny" will cause the vindicator to become hostile towards every mob, except other illagers; a reference to The Shining.