Reputation

Reputation is a mechanic used in villages that determines how villagers behave toward the player. It is measured as a floating-point number between -20 and 20. Reputation is unique for each player and each village.

Events that change reputation

 * Destroying the village town hall: -5
 * Killing an iron golem: -5
 * Killing a baby villager: -3
 * Killing a villager: -2
 * Destroying a village house: -1
 * Hitting a villager: -0.5
 * Looting a villager's chest without permission: -0.5
 * Trading with a villager: +0.1
 * Killing an illager: +0.1
 * Unlocking a new level of a villager's trades: +1
 * Curing a zombie villager: +1
 * Spawning an iron golem or terracotta golem: +1 (up to 5 total)
 * Completing a Governor's quest: +1 to +5
 * Saving the village from a zombie siege or raid: +5

Events based on reputation

 * -15: At or below this point, the village militia and golems start attacking the player. Villagers cease trading entirely until the reputation exceeds -15 again.
 * -10: At or below this point, some villagers may stop offering trades.
 * -5: At or below this point, some trades become more expensive; more so as reputation decreases.
 * +5: At or above this point, some trades become less expensive; more so as reputation increases.
 * +10: At or above this point, villagers will let you loot their chests without damaging reputation.