minecraft.wiki-mirror/wiki_backup/Villager_(old).txt
2024-12-20 08:07:18 -05:00

683 lines
42 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{For|the current version of villagers|Villager}}
{{Outdated}}
{{unobtainable|edition=be}}
{{Exclusive|New3DS}}
{{Infobox entity
| defaultimagesize = 100px
|*-1caption=Adult
|*-2caption=Baby
| group1=Farmer
|1-1=Farmer.png
|1-2=Baby Farmer BE.png
| group2=Librarian
|2-1=Librarian.png
|2-2=Baby Librarian BE.png
| group3=Priest
|3-1=Priest.png
|3-2=Baby Priest BE.png
| group4=Blacksmith
|4-1=Blacksmith.png
|4-2=Baby Blacksmith BE.png
| group5=Butcher
|5-1=Butcher.png
|5-2=Baby Butcher BE.png
| group6=Nitwit
|6-1=Nitwit.png
|6-2=Baby Nitwit BE.png
| title = Villager
| health = {{hp|20}}<br>{{hp|0}} (if spawned by spawn egg){{only|be|edu|short=real}}
| behavior = Passive
| size = '''Adult:'''<br>Height: 1.95 Blocks<br>Width: 0.6 Blocks<br>
'''Baby:'''<br>Height: 0.975 Blocks<br>Width: 0.3 Blocks
| spawn = [[#Spawning|see §Spawning]]
| mobtype = NPC<ref group="note" name="npc">Categorized as an NPC in the game code.</ref>
}}
'''Villagers''' are [[passive]] [[mob]]s that inhabit [[Village/Structure (old)|villages]], work at their professions, breed, and interact with each other. Their clothing varies according to their occupation. A [[player]] can [[trade]] with villagers, using [[emerald]]s as currency. Villagers received a [[Villager|complete overhaul]] of both their appearance and their functionality in the [[Village & Pillage]] update; this page covers villagers as they appeared and behaved before the update.
== Spawning ==
=== Spawn eggs ===
{{IN|be}}, the old villager spawn egg could be still obtained by {{cmd|give spawn_egg 1 15}}. Using that spawn egg spawned an old villager with {{hp|0}} health, which meant it dies immediately upon spawning. A new villager spawned after it dies, but in newer versions it just gives a normal villager spawn egg.
=== Natural generation ===
{{IN|Java}}, old villagers can only spawn in versions of Minecraft prior to 1.14. {{IN|Bedrock}}, old villagers can only spawn if they existed from a template world prior to [[Bedrock Edition 1.11.0|1.11.0]], and any old villager spawned after 1.11.0 outside a template world is converted into [[villager|villager_v2]].
=== Baby villagers ===
Villagers breed autonomously, but need doors and need to be willing in order to spawn baby villagers. After exactly 20 minutes during which the baby villager is within render distance, the baby villager grows up to an adult. See [[#Breeding|this section]] for more information.
=== Curing ===
Villagers spawn if a player uses a [[splash potion]] of [[weakness]] on a [[zombie villager|v1 zombie villager]] in template world<!-- curing v1 zombie villager in non-template world converts it to villager_v2--> and then feeds it a regular [[golden apple]]. It then shakes and turn into a villager within 0-5 minutes. During the change, the zombie villager can still burn in the sun.
== Drops ==
Villagers [[drop]] nothing upon [[death]].
'''Trade:''' 36 xp
'''Trade while willing:''' 811 xp
== Behavior ==
=== Movement patterns ===
Upon spawning, villagers leave their homes and begin to explore the village. Generally, they wander aimlessly inside the village during the day. They may go indoors or outdoors, and they periodically make mumbling sounds. Occasionally, two villagers may stop and turn to look at each other, in a behavior called socializing, in which they stare at another villager for 4-5 seconds at a time. In the case of players, they continuously stare at them as long as the player is close enough, unless the villager tries to get into a house at night, farm food, or flee from a zombie.
In [[Legacy Console Edition]], when a player attacks a villager, the villager does not run away, but anger particles fly out from the villager if it is in a village. {{IN|be}}, villagers do not stop continuously in front of players. They also [[sprint]] away if the player attacks them.
Villagers, like other mobs, find paths around obstructions, avoiding walking off cliffs and some blocks that cause harm. However, in crowded situations it is possible for one villager to push another off a cliff or into harm. Villagers also occasionally walk off of ledges high enough to cause fall damage.
At night or during rain, villagers run inside, closing doors behind them, and staying indoors until morning. In the morning they head outside and resume normal behavior.
Villagers flee from [[zombie]]s, [[illager]]s and [[vex]]es within 8 blocks.
If a villager finds itself outside the village boundary, or a villager without a village detects a village boundary within 32 blocks, it moves quickly back within the boundary. A villager taken more than 32 blocks away from its village boundary forgets the village within about 6 seconds. Whether in a village or not, a villager is never prone to [[despawn]]ing.
Villagers cannot open [[trapdoor]]s, [[fence gate]]s, or [[iron door]]s.
There is evidence that villagers are prone to overcrowding certain areas of a village while leaving other areas completely empty. When moving inside, the AI prefers doors within 16 blocks (Euclidean distance). It also tends to prefer doors with fewer villagers nearby, however "nearby" in this case is only 1.5 blocks and, when moving inside, villagers prefer to move 2.5 blocks inside when the inside is to the south or east and therefore go out of range of this check. During the day, it has been observed that villagers tend to cluster near a trapped villager or any existing large cluster of villagers, likely due to the "socialize" AI routine overriding their inclination to wander.
=== Picking up items ===
Villagers have eight hidden inventory slots, which start empty whenever the villager is spawned. Villagers do not intentionally seek out items to pick up, but they collect any [[bread]], [[carrot]]s, [[potato]]es, [[wheat]], [[seeds]], [[beetroot]] and [[beetroot seeds]] they happen to come within range of. These are the only items they are able to pick up, though the player may use the {{cmd|replaceitem}} command to put an arbitrary item into a villager's inventory. If a player and a villager are in the pickup range of an item at the same time, the player always picks it up first.
Even when {{cd|gamerule keepInventory}} is set to {{cd|false}}, villagers that are killed with any of the available items above do not drop them once they are killed.
Any items in these slots are lost if a villager becomes a zombie villager; a zombie villager has no inventory slots.
If {{cmd|gamerule mobGriefing}} is <code>false</code>, villagers do not pick up items.
A dispenser can be used, if adjacent to a villager, to place armor on it. While not visible in most cases (other than pumpkins and mob heads) the equipment is fully functional; for example, the [[Thorns]] enchantment hurts zombies that attack a villager with a piece of armor enchanted with the Thorns enchantment equipped.
=== Sharing food ===
If a villager has enough food in one inventory stack (6 [[bread]] or 24 [[carrot]]s, [[potato]]es, [[beetroot]]s, or 18 [[wheat]] for farmers only) and sees a villager without enough food in one inventory stack (3 bread or 12 carrots, potatoes or beetroot for non-farmers; 15 bread, 60 carrots, potatoes, or beetroot, or 45 wheat for Farmers), the villager may decide to share food with that villager.
To share, a villager finds its first inventory stack with at least 4 bread, carrots, potatoes, or beetroot or with at least 6 wheat, and then throws half the stack (rounded down) in the direction of the target villager. When wheat is shared, it is first crafted to bread which may result in 1 or 2 less than half the stack being shared.
=== Farming ===
Adult and baby brown-robed villagers, both farmers and other careers, tend crops within the village boundary. Villagers far enough outside the boundary of ''any'' village also tend nearby crops.
Farmland to be tended is found by seeking for certain blocks up to 15 blocks away from the villager in X and Z and up to 1 away in Y (a 31×31×3 area total).
* If a brown-robed villager does not have enough food in one stack in its inventory (15 bread, 60 carrots, potatoes, or beetroot, or 45 wheat) and finds fully-grown wheat, carrots, potatoes or beetroot, it moves to the crop block and break it.
* If a brown-robed villager has any seeds, carrots, potatoes, or beetroot seeds in its inventory and finds an air block above farmland, it moves to it and plant a crop. They always plant from the first eligible slot in their inventory.
* If {{cmd|/gamerule mobGriefing}} is <code>false</code>, villagers cannot farm.
=== Baby villager behavior ===
[[File:ChildrenTag (old).png|thumb|200px|A group of baby villagers playing a game of tag.]]
Baby villagers sprint around, entering and leaving houses randomly. They sometimes stop sprinting to stare at an [[iron golem]]. If the iron golem is holding a [[poppy]], it might attract any baby villagers near it.
Baby villagers in [[Bedrock Edition|Bedrock]]/[[Legacy Console Edition]]s have a slightly bigger head than in the {{el|je}}, this also can be seen in different baby mobs in the game as well.
Unlike other breed-able mobs, the parents and child have no personal interactions other than socializing.
=== Zombies ===
{{main|Siege|Zombie}}
[[Zombie]]s try to find and attack villagers within a 42 block radius (even when the villager is invisible), and attempt to break down [[door]]s. Zombies successfully break doors only if the difficulty is set to hard, although only a fraction of zombies spawned in Hard mode have the capacity to break doors. This also applies to zombie pigmen if they path find through a door. Villagers flee from zombies, sometimes hiding in houses. The villager's only "natural" defense are the [[iron golem]]s, which attack nearby hostile mobs.
Zombies try to kill villagers, or convert them to [[zombie villager|v1 zombie villager]]s. The chance for a villager to become a zombie villager on death is 0% on Easy, 50% on Normal, and 100% on Hard. Baby villagers can be infected by [[zombie]]s as well.
Villagers also flee from zombie pigmen, although the latter do not attack them.
[[Drowned]] chase and attack villagers in the same way as zombies, and villagers run from drowned in the same way they run from zombies. Drowned can also convert villagers to zombie villagers, even when attacking from a distance with a [[trident]].
=== Lightning ===
When [[lightning]] strikes within 34 blocks of a villager, it turns into a [[witch]].
== Breeding ==
{{see also|Tutorials/Legacy Console village mechanics}}
[[File:VillagerInLove (old).png|thumb|200px|Two villagers [[mating]].]]
Villagers mate depending on the number of valid [[door]]s. If "willing" (see below), villagers mate as long as the population is less than 35% ({{el|be}}: 100%) of valid doors, rounded down. The type of villager that spawns is independent of the villager's parents.
A valid door is any door within the village radius where the number of "outside" spaces within 5 blocks in a straight line on one side of the door is not the same as the number of "outside" spaces within 5 blocks on the other side of the door. A space is considered to be "outside" if it has nothing but transparent blocks above it all the way to the sky.
A census is periodically taken to determine the current population of the village. All villagers within the horizontal boundary of the village and within 5 vertical blocks ({{el|be}}: no apparent height limit) of the center is counted as part of the population to determine if continued villager mating is allowed. However, any villager within the horizontal boundary of the village and within the ''spherical'' boundary of the village attempts to enter mating mode as long as there is at least one villager within the boundary. If two villagers simultaneously enter mating mode while they are close to one another, they mate with each other and produce a child.
=== Willingness ===
Additionally, villagers must be "willing" in order to breed. After mating, they are no longer willing, and must be made willing again.
Villagers can become willing by having either 3 [[bread]], 12 [[carrot]]s, 12 [[potato]]es, or 12 [[beetroot]]s in one stack in their inventory. Any villager with an excess of food (usually farmers) throw food to other villagers, allowing them to pick it up and obtain enough food to become willing. The player can also throw bread, carrots, beetroots, or potatoes at the villagers themselves to encourage breeding. Villagers consume the required food upon becoming willing.
Villagers may also become willing when the player trades with them. Willingness is granted the first time a new offer is traded, or at a one-in-five chance on subsequent trades. Most of the time, villagers becomes willing after the second or third trade. Green particles appear if the villager becomes willing by trading. This does not cause them to immediately seek out a mate, however.
Before [[Java Edition 1.8]], willingness was not implemented. The only factor needed is enough valid doors.
== Professions and careers ==
Each villager has a profession, which can be identified by their clothing. Villagers also have careers specific to their profession. The player can identify a villager's career by reading the title at the top of the trading interface.
Below is a table listing the various villagers, with their careers in relation to their professions, as well as the IDs specifying these. While each profession has a 1 in 6 chance (16.67%) of occurring, the probabilities for individual careers to occur are more diversified. They are listed in the table as well.
{| class="wikitable" style="width: 500px; text-align: center" data-description="Careers and professions"
|-
! Clothing
! Profession
! Profession ID
! Career
! Career ID
! Probability
!Combined Probability
|-
| rowspan=4 | [[File:Farmer.png|40px]]
| rowspan=4 | Farmer
| rowspan=4 | 0
| Farmer
| 1
| {{Fraction|1|24}} (4.17%)
| rowspan="4" |{{Fraction|1|6}} (16.67%)
|-
| Fisherman
| 2
| {{Fraction|1|24}} (4.17%)
|-
| Shepherd
| 3
| {{Fraction|1|24}} (4.17%)
|-
| Fletcher
| 4
| {{Fraction|1|24}} (4.17%)
|-
| rowspan="2" | [[File:Librarian.png|40px]]
| rowspan="2" | Librarian
| rowspan="2" | 1
| Librarian
| 1
|{{Fraction|1|12}} (8.33%)
| rowspan="2" |{{Fraction|1|6}} (16.67%)
|-
|Cartographer
|2
|{{Fraction|1|12}} (8.33%)
|-
| [[File:Priest.png|40px]]
| Priest/Cleric
| 2
| Cleric
| 1
|{{Fraction|1|6}} (16.67%)
|{{Fraction|1|6}} (16.67%)
|-
| rowspan=3 | [[File:Blacksmith.png|40px]]
| rowspan=3 | Blacksmith
| rowspan=3 | 3
| Armorer
| 1
| {{Fraction|1|18}} (5.56%)
| rowspan="3" |{{Fraction|1|6}} (16.67%)
|-
| Weapon Smith
| 2
| {{Fraction|1|18}} (5.56%)
|-
| Tool Smith
| 3
| {{Fraction|1|18}} (5.56%)
|-
| rowspan=2 | [[File:Butcher.png|40px]]
| rowspan=2 | Butcher
| rowspan=2 | 4
| Butcher
| 1
|{{Fraction|1|12}} (8.33%)
| rowspan="2" |{{Fraction|1|6}} (16.67%)
|-
| Leatherworker
| 2
|{{Fraction|1|12}} (8.33%)
|-
| [[File:Nitwit.png|40px]]
| Nitwit
| 5
| Nitwit
| 1
|{{Fraction|1|6}} (16.67%)
|{{Fraction|1|6}} (16.67%)
|-
|}
When a villager is transformed into a zombie villager, the profession of the zombie villager remains unchanged. However, the career is reset and randomly picked again if the zombie villager is cured, allowing for the player to get a villager with a new career and new trade offers. Old trade offers disappear, even if the same career is chosen again.
=== Nitwit ===
{{quote|It started because players could summon villagers without a career by using commands: it was the only way to get villagers with green robes. Whenever we discover we have a bug which is used by the community we just see it as 'undefined behaviour' - and 'fix' it by making it a feature. In this case we just needed a profession for the green-robed villager. I don't remember what name we came up with first - I think it was 'unemployed' or something, but it doesn't really fit in the world, because I don't really think the other villagers are employed by anyone either. So I think the next suggestion was 'village idiot' but I thought 'nitwit' was a more fun name.|[[Jeb]] about the Nitwit<ref name="meet-nitwit">{{Mcnet|meet-nitwit|Meet the Nitwit|January 23, 2017}}</ref>||Jens Bergensten Mojang avatar.png}}
The nitwit villager is a villager that wears a green robe and cannot be [[traded]] with.
== Trading ==
{{main|Trading/Before Village and Pillage}}
[[File:Trading paper clean GUI.png|thumb|The pre-1.14 trading interface displaying a trade of 28 [[paper]] for 1 [[emerald]].]]
{{quote|Right click on a villager and you can trade with them, offering them emeralds in exchange for better equipment, maps to notable treasures or food. Unless you are trying to trade with a nitwit, of course, in which case you're going to get squat. Who's the nitwit now?|[[Marsh Davies]]<ref name="meet-villagers">{{Mcnet|meet-villagers|Meet the Villagers|March 13, 2017|Marsh Davies}}</ref>||Marsh Davies Mojang avatar.png}}
The trading system is a [[gameplay]] mechanic that allows players to trade [[emerald]]s for [[items]] and vice-versa with villagers. Their trades can be good or bad, depending on what the cost is and what [[items]] you might get. Trading is only available for adult villagers; the player cannot trade with baby villagers or the nitwit villager.
Right-clicking a villager allows a player to trade with them, and display their career. Villagers make offers based on their profession and career, and trade based on whatever offers they are making. Different offers may be viewed by pressing the left and right buttons next to the currently displayed offer. All offers involve [[emerald]] as a currency, and some item pertinent to the villager's profession and career. Trading allows the acquisition of rare items that would otherwise be fairly difficult to obtain, such as chain [[armor]]. The trading mechanic allows players to get [[bottle o' enchanting]] in survival mode. When villagers get a new trade, pink particles and green cross particles appear.
After trading a new offer once, the villager allows a new tier of offers. After 2-12 times an offer is repeated, the villager locks the trade offer. That is, the villager no longer offers this trade. When this happens, the player must use another new trade offer in the villager's window once (or several times if it is already used once), and then wait for a short time. If green particles appear, all trades unlock. That is, the villager starts offering all trades. There is a maximum number of tiers each villager can possess, varying by career. Once the villager has unlocked all tiers, it does not open any new ones. However, players can still renew all offers by trading.
=== Regeneration ===
When a villager gives off particles from a new trade, they get 10 seconds of Regeneration I, which gives them {{hp|4}}.
Commands or external editors can help villagers get new trades.
If a villager unintentionally picks up certain seeds or crops, it throws it to another villager to simulate trading between the villagers.
== Sounds ==
{{Edition|Java}}:<br>
Villagers used the Friendly Creatures sound category for [[Sound#Entity-dependent categories|entity-dependent sound events]].
{{SoundTable
| type = java
| {{SoundLine
| sound =Villager idle1.ogg
|sound2=Villager idle2.ogg
|sound3=Villager idle3.ogg
|subtitle=Villager mumbles
|source=neutral
|description=Randomly
|id=entity.villager.ambient
|translationkey=subtitles.entity.villager.ambient
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Villager death.ogg
|subtitle=Villager dies
|source=neutral
|description=When a villager dies or becomes zombified
|id=entity.villager.death
|translationkey=subtitles.entity.villager.death
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Villager hurt1.ogg
|sound2=Villager hurt2.ogg
|sound3=Villager hurt3.ogg
|sound4=Villager hurt4.ogg
|subtitle=Villager hurts
|source=neutral
|description=When a villager is damaged
|id=entity.villager.hurt
|translationkey=subtitles.entity.villager.hurt
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Villager accept1.ogg
|sound2=Villager accept2.ogg
|sound3=Villager accept3.ogg
|subtitle=Villager agrees
|source=neutral
|description=When a player successfully trades with a villager and when a player gives a villager an sufficient amount of resources
|id=entity.villager.yes
|translationkey=subtitles.entity.villager.yes
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Villager deny1.ogg
|sound2=Villager deny2.ogg
|sound3=Villager deny3.ogg
|subtitle=Villager disagrees
|source=neutral
|description=When a player gives a villager an insufficient amount of resources
|id=entity.villager.no
|translationkey=subtitles.entity.villager.no
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
|distance=16}}
| {{SoundLine
|sound=Villager trade1.ogg
|sound2=Villager trade2.ogg
|sound3=Villager trade3.ogg
|subtitle=Villager trades
|source=neutral
|description=Randomly while the trade UI on a villager is open
|id=entity.villager.trade
|translationkey=subtitles.entity.villager.trading
|volume=1.0
|pitch=0.8-1.2<br>(Baby: 1.3-1.7)
| distance = 16
}}
}}
{{Edition|Bedrock}}:
{{SoundTable
| type = bedrock
| {{SoundLine
| sound =Villager idle1.ogg
|sound2=Villager idle2.ogg
|sound3=Villager idle3.ogg
|source=neutral
|description=Randomly
|id=mob.villager.idle
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager death.ogg
|source=neutral
|description=When a villager dies or becomes zombified
|id=mob.villager.death
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager hurt1.ogg
|sound2=Villager hurt2.ogg
|sound3=Villager hurt3.ogg
|sound4=Villager hurt4.ogg
|source=neutral
|description=When a villager is damaged
|id=mob.villager.hit
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager accept1.ogg
|sound2=Villager accept2.ogg
|sound3=Villager accept3.ogg
|source=neutral
|description=When a player successfully trades with a villager
|id=mob.villager.yes
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager idle1.ogg
|sound2=Villager idle2.ogg
|sound3=Villager idle3.ogg
|source=neutral
|description=When a player successfully trades with a villager
|id=mob.villager.idle
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager deny1.ogg
|sound2=Villager deny2.ogg
|sound3=Villager deny3.ogg
|source=neutral
|description=''Unused sound event''<ref group="sound">{{Bug|MCPE-113788}}</ref>
|id=mob.villager.no
|volume=1.0
|pitch=0.8-1.2}}
| {{SoundLine
|sound=Villager trade1.ogg
|sound2=Villager trade2.ogg
|sound3=Villager trade3.ogg
|source=neutral
|description=When a trade UI on a villager is opened
|id=mob.villager.haggle
|volume=1.0
| pitch = 0.8-1.2
}}
}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|displayname=Villager
|spritetype=entity
|spritename=villager-revision-1
|nameid=villager
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Villager
|spritetype=entity
|spritename=villager-revision-1
|nameid=villager
|id=15
|foot=1}}
=== Entity data ===
{{see also|Chunk format}}
Villagers have entity data associated with them that contains various properties.
{{/ED}}
== Achievements ==
{{load achievements|The Haggler;Treasure Hunter}}
== Advancements ==
{{load advancements|What a Deal!;Very Very Frightening;Take Aim;A Throwaway Joke}}
== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease|[[File:Farmer.png|x48px]] [[File:Librarian.png|x48px]] [[File:Priest.png|x48px]] [[File:Blacksmith.png|x48px]] [[File:Butcher.png|x48px]] [[File:Nitwit.png|x48px]] Added villagers.
|Villagers share the same [[Mob AI|AI]] as [[pig]]s.
|Villagers have the name "TESTIFICATE" displayed over their heads as [[player]] names are displayed in multiplayer.
|Villages have 5 main professions (0, 1, 2, 3, 4), and other profession numbers were a green-robed unnamed villager.
|''"We added them in 2011, but in the beginning they were completely useless - you couldn't trade with them, they didn't have any sound effects or anything. Their only purpose was to live in the villages. We discussed a lot about what they would do - we knew we wanted trading, but we weren't sure about what would happen with the village itself. Would the player do quests around the village? Would it expand?"'' [[Jeb]]<ref name="meet-villagers">{{Mcnet|meet-villagers|Meet the Villagers|March 13, 2017|Marsh Davies}}</ref>}}
|{{HistoryLine|||dev=Beta 1.9 Prerelease 2|The "TESTIFICATE" name above villager's heads has been removed.}}
|{{HistoryLine||1.1|dev=11w49a|Added the villager [[spawn egg]] to [[Creative]] mode. However, only farmer villagers are spawned.}}
|{{HistoryLine||1.2.1|dev=12w05a|Villagers now go inside at [[Daylight cycle#Night|night]] and detect houses.
|Villagers can now open and close [[door]]s.}}
|{{HistoryLine|||dev=12w06a|Villagers can now socialize with each other and passive [[mob]]s.
|Villagers are now attacked by and run away from [[zombie]]s.
|Villagers now go inside shelter whenever it [[rain]]s.}}
|{{HistoryLine|||dev=12w07a|[[File:Farmer.png|20px]] [[File:Librarian.png|20px]] [[File:Priest.png|20px]] [[File:Blacksmith.png|20px]] [[File:Butcher.png|20px]] [[File:Nitwit.png|20px]] Added baby villagers.
|Villagers now repopulate [[village]]s by the number of houses there are.
|Villager children now [[sprint]].}}
|{{HistoryLine||1.3.1|dev=12w18a|Villagers spawned via a [[spawn egg]] now have a random profession.}}
|{{HistoryLine|||dev=12w21a|Added [[trading]] with villagers. Leaving a trading window open causes villagers not to wander under normal circumstances.}}
|{{HistoryLine|||dev=12w22a|Villagers now reassign their profession if there is a lack of a specific profession or if the number of villagers in a profession is unbalanced (i.e., if there are many farmer villagers and no blacksmith villagers, one change its skin, showing it has changed its profession).
|[[Trading]] has also been changed, where an extra input space has been added where tools can be placed for buying [[enchanting|enchantments]] and/or repair.}}
|{{HistoryLine|||dev=12w25a|Villagers may now remove a trade option after it has been used at least 3 times.}}
|{{HistoryLine|||dev=12w26a|Although requiring external tools or modifications to apply, [[monster spawner]]s can now spawn the previously unavailable green robe villagers in unmodified Minecraft clients.}}
|{{HistoryLine||1.4.2|dev=12w32a|Villagers now like and dislike the [[player]], depending on how they react to them.
|Villagers can now be infected by [[zombie]]s, causing them to change their appearance and attack the [[player]] and other villagers.}}
|{{HistoryLine||1.4.4|dev=pre|Villager children can now be spawned easily by right-clicking a villager with a villager [[spawn egg]].}}
|{{HistoryLine||1.6.1|dev=13w22a|Added [[sound]] effects for villagers. They have different sounds for taking [[damage]], talking to villagers, successful [[trading|trades]], and canceled trades.}}
|{{HistoryLine||1.8|dev=14w02a|Added careers to villagers, splitting up the trade offers within a profession. This career is shown in the trading interface.
|The [[trading]] system has been reworked to be less random; it is now tier-based instead, and several offers may be generated at one time.
|Due to the changes in the trading system, attempting to trade with generic villagers crashes the game.
|Villagers now [[breeding|breed]] only when willing. This limits the number of villagers and prevents infinite breeding [[village]]s.}}
|{{HistoryLine|||dev=14w02c|Villagers that had professions more than 4 now repeat in 0-4.
|Generic villagers can now be spawned only by using negative profession numbers.}}
|{{HistoryLine|||dev=14w03a|Villagers struck by [[lightning]] now turn into [[witch]]es.}}
|{{HistoryLine|||dev=14w04a|Farmer (profession) villagers now harvest fully grown [[crops]].
|Villagers can now be made willing using 3 [[bread]], 12 [[carrot]]s or 12 [[potato]]es.}}
|{{HistoryLine|||dev=14w04b|Villagers now have an NBT [[tag]] that allows control over getting [[experience]] for [[trading]] (reward exp).}}
|{{HistoryLine|||dev=14w20a|The generic villager has been completely removed. However, its texture still exists in the Minecraft files.}}
|{{HistoryLine||1.8.1|dev=pre4|Villagers no longer ignore data tags or damage values.}}
|{{HistoryLine||1.9|dev=15w31a|Farmer villagers now harvest [[beetroot]] crops, but ignore the [[drops]].}}
|{{HistoryLine|||dev=15w38a|Villagers now pick up beetroot and [[beetroot seeds]].
|Villagers now use and share beetroot as [[food]].
|Farmer villagers can now plant beetroot seeds.}}
|{{HistoryLine|||dev=15w39a|Villagers are now slightly taller (1.95 [[block]]s tall rather than 1.8, with babies 0.975 blocks tall rather than 0.9).}}
|{{HistoryLine|||dev=15w43a|A priest villager can now be found caged in an [[igloo]] basement.}}
|{{HistoryLine||1.11|dev=16w32b|[[File:Nitwit.png|x48px]] Generic villagers have been re-added. They are now called Nitwits, as profession 5. However, they can no longer [[trading|trade]], because right-clicking on a generic villager does nothing.
|The entity ID has been changed from <code>Villager</code> to <code>villager</code>}}
|{{HistoryLine|||dev=16w39a|Added a new career for the librarian villager called "Cartographer".}}
|{{HistoryLine|||dev=16w43a|Villagers are now able to draw from their own loot tables.}}
|{{HistoryLine||1.13|dev=17w47a
|The Weapon Smith's career ID has been changed from 3 to 2 and the Tool Smith's from 2 to 3.}}
|{{HistoryLine|||dev=18w11a|Villagers now run away from [[drowned]].}}
|{{HistoryLine||1.14|dev=18w47a|Villagers now hide in houses during [[raid]]s.
|[[File:Panicked Villager.gif|32px]] Villagers don't trade while a [[raid]] is ongoing, right-clicking them instead makes them emit sweat [[particles]].}}
|{{HistoryLine|pocket alpha}}
|{{HistoryLine||v0.9.0|dev=build 1|[[File:Farmer.png|x48px]] [[File:Librarian.png|x48px]] [[File:Priest.png|x48px]] [[File:Blacksmith.png|x48px]] [[File:Butcher.png|x48px]] [[File:Nitwit.png|x48px]] Added villagers.
|[[File:Farmer.png|20px]] [[File:Librarian.png|20px]] [[File:Priest.png|20px]] [[File:Blacksmith.png|20px]] [[File:Butcher.png|20px]] [[File:Nitwit.png|20px]] Added baby villagers.
|Villagers have the same level of AI as [[Java Edition|PC]] version [[Java Edition 1.0.0|1.0.0]], as they cannot [[trading|trade]], harvest [[crops]], breed or open [[door]]s.}}
|{{HistoryLine|||dev=build 2|Villagers now have [[sound]]s. |Villagers are now attacked by and run away from [[zombie]]s.
|Villager children now [[sprint]].}}
|{{HistoryLine||v0.9.2|Villagers now have sounds on iOS and Fire OS.}}
|{{HistoryLine||v0.10.0|dev=build 6|The villager walking animation has been changed.}}
|{{HistoryLine||v0.12.1|dev=build 1|Villagers can now open and close [[door]]s.
|Villagers now go inside at night and detect houses.
|Villagers can now socialize with each other and passive [[mob]]s.
|Farmer villagers now harvest fully grown [[crops]].
|Villagers now repopulate [[village]]s by the number of houses there are.
|Villagers now like and dislike the [[player]], depending on how they react to them.
|Villagers can now be infected by [[zombie]]s, causing them to change their appearance and attack the player and other villagers.}}
|{{HistoryLine|||dev=build 10|Villagers now always become [[zombie villager]]s in Hard [[difficulty]].}}
|{{HistoryLine||v0.13.0|dev=build 2|Villagers now open all wooden [[door]]s (rather than just oak).}}
|{{HistoryLine||v0.14.0|dev=build 1|Villagers struck by [[lightning]] now transform into [[witch]]es.
|Villagers are now slightly taller (1.95 [[block]]s tall rather than 1.8, with babies 0.975 blocks tall rather than 0.9).}}
|{{HistoryLine||v0.15.0|dev=build 1|Villagers now run away from [[husk]]s.}}
|{{HistoryLine|pocket}}
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Villagers now spawn in [[igloo]] basements.}}
|{{HistoryLine||1.0.4|dev=alpha 1.0.4.0|Added [[trading]] with villagers.
|[[File:Baby Farmer BE.png|20px]] [[File:Baby Librarian BE.png|20px]] [[File:Baby Priest BE.png|20px]] [[File:Baby Blacksmith BE.png|20px]] [[File:Baby Butcher BE.png|20px]] [[File:Baby Nitwit BE.png|20px]] Baby villagers now have larger-sized heads.
|[[File:Nitwit.png|x48px]] The generic villager has been added for [[resource pack]]s.
|Villagers can now share [[food]] with other villagers.
|Villagers can now be made willing by using 3 [[bread]], 12 [[carrot]]s or 12 [[potato]]es.
|Villagers now [[breeding|breed]] only when willing.}}
|{{HistoryLine||1.1.0|dev=alpha 1.1.0.0|Villagers now run away from [[illager]]s and [[vex]]es.}}
|{{HistoryLine|||dev=alpha 1.1.0.3|Added a new career for librarian villagers called "Cartographer".}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.2.13|dev=beta 1.2.13.8|Villagers now run away from [[drowned]].}}
|{{HistoryLine||1.9.0|dev=beta 1.9.0.0|Villagers now run away from [[pillager]]s.}}
|{{HistoryLine|console}}
|{{HistoryLine||xbox=TU7|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Farmer.png|x48px]] Added villagers.
|Villagers have the same level of AI as [[Java Edition|PC]] version [[Java Edition 1.0.0|1.0.0]], as they cannot [[trading|trade]], harvest [[crops]], breed or open [[door]]s.}}
|{{HistoryLine||xbox=TU11|The [[spawn limit|limit]] for villagers has been increased in a world.}}
|{{HistoryLine||xbox=TU12|[[File:Farmer.png|20px]] Added baby villagers.
|Villagers can now open and close [[door]]s.
|Villagers now go inside at [[Daylight cycle#Night|night]] and detect houses.
|Villagers can now socialize with each other and passive [[mob]]s.
|Villagers are now attacked by and run away from [[zombie]]s.
|Villagers now repopulate [[village]]s by the number of houses there are.
|Baby villagers now [[sprint]].}}
|{{HistoryLine||xbox=TU13|ps3=1.00|psvita=1.00|ps4=1.00|A [[spawn limit|limit]] to the number of villagers spawned by [[breeding]] has been added.
|Added the hearts display when villagers enter 'love mode'.}}
|{{HistoryLine||xbox=TU14|ps3=1.04|psvita=1.00|ps4=1.00|[[Trading]] with villagers has been added.
|[[File:Librarian.png|x48px]] [[File:Priest.png|x48px]] [[File:Blacksmith.png|x48px]] [[File:Butcher.png|x48px]] [[File:Nitwit.png|x48px]] Villagers are now assigned random professions.
|Villagers that are spawned from a [[spawn egg]] now have a random profession.
|Villagers now make [[sound]]s from being [[damage|hurt]], [[trading]] and wandering.
|Baby villagers can now be spawned by using {{xbtn|lt}} on an adult form of that [[mob]] using a [[spawn egg]].}}
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|Villagers now have additional professions and trading schemes.
|Villagers now harvest [[crops]].
|Villagers now [[breeding|breed]] only when willing (and can be made willing by giving them 3 [[bread]], 12 [[carrot]]s or 12 [[potato]]es).
|Villagers turn into [[witch]]es when struck by [[lightning]].}}
|{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|switch=1.0.1|A cleric villager can now be found caged in an [[igloo]] basement.}}
|{{HistoryLine||xbox=TU54|xbone=CU44|ps3=1.52|psvita=1.52|ps4=1.52|wiiu=Patch 24|switch=1.0.4|Added a new career for the librarian villager: "Cartographer".|Nitwit villagers can now spawn.}}
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Added an emerald icon above a Villager's head when trading.|[[File:Baby Farmer BE.png|20px]] [[File:Baby Librarian BE.png|20px]] [[File:Baby Priest BE.png|20px]] [[File:Baby Blacksmith BE.png|20px]] [[File:Baby Butcher BE.png|20px]] [[File:Baby Nitwit BE.png|20px]] Baby villagers now have larger-sized heads.}}
|{{HistoryLine|new 3ds}}
|{{HistoryLine||0.1.0|[[File:Farmer.png|x48px]] [[File:Librarian.png|x48px]] [[File:Priest.png|x48px]] [[File:Blacksmith.png|x48px]] [[File:Butcher.png|x48px]] [[File:Nitwit.png|x48px]] Added villagers.
|[[File:Farmer.png|20px]] [[File:Librarian.png|20px]] [[File:Priest.png|20px]] [[File:Blacksmith.png|20px]] [[File:Butcher.png|20px]] [[File:Nitwit.png|20px]] Added baby villagers.}}
|{{HistoryLine||1.9.19|Added a new career for the librarian villager: "Cartographer".}}
}}
==Trivia==
[[File:Old villagers, raid fail.png|thumb|right|A raid of illagers celebrating victory, despite having the old villagers and beds.]]
*By downloading worlds from the [[Marketplace]], old and new villagers can be summoned at the same place. Because old villagers don't count as villagers, any [[raid]] ends in defeat the moment all new villagers are killed, even if old villagers are still alive.
*The villagers were inspired by the shop keepers in [[wikipedia:Dungeon Master 2|Dungeon Master 2]].<ref>http://www.reddit.com/r/Minecraft/comments/xfzdg/i_am_markus_persson_aka_notch_creator_of/c5m0p26</ref>
*Originally, the mobs populating villages were to be [[pigmen]].<ref>{{tweet|notch|62531431175421952}}</ref>
*Villagers tend to often cram into houses that are in the southern-eastern area of their village.
*Name tags used on villagers always name the villager instead of opening the trading interface.
*Villagers can see invisible players.
*After a zombie villager is cured, the villager gets Nausea for 10 seconds (indicated by the purple status effect particles).
*When a villager is in love mode, it walks very slowly. However, when a villager runs indoors as the night falls, it runs extremely fast, even faster than the player's sprinting speed.
*The [[Horse Update]] release poster showed a blue-robed villager in the background. Such a villager has never been added to the main game, however a similar design is used for the Scared Villager in [[Caves & Cliffs Explorers]].
*The Priest, Librarian and Nitwit villagers have an unused hood in their textures.
*Originally, villagers used rubies as their currency, but they were later replaced with emeralds on [[Dinnerbone]]'s request, because he was colorblind and rubies looked too similar to redstone dust.<ref>[https://web.archive.org/web/20150316193400/http://www.minecraftforum.net/forums/archive/future-updates/384441-1-5-new-blocks-items#c11 "We actually didn't go with rubies and changed to emeralds at last minute for the villager trading because I'm colour blind and couldn't easily spot the difference between the ruby ore and redstone ore until I was up close. <nowiki>[…]</nowiki>"] Dinnerbone on minecraftforum.net, December 29, 2012 (Archived)</ref>
===April fools ===
{{main|Easter eggs#2014}}
On April 1, 2014, Mojang announced that villagers have taken over the skin servers and content delivery networks (CDN) as an April Fools joke. This caused players' current skin to turn into villager skins. This also caused users to be unable to change their skins. Different career villager skins were used, including the then-unused nitwit villager (green robe).
Many of the sounds were also changed, supposedly by the villagers. They seem to be similar to a villager talking (with words, rather than their normal sounds). The in-game music has also been altered to include villager like noises, and also features a villager version of the "Game of Thrones" theme on the title screen. The sounds originate from the sound resource pack created by Element Animation, titled The Element Animation Villager Sound Resource Pack (T.E.A.V.S.R.P), which is based on the villagers appearing in their fan videos. The villagers were voiced by Dan Lloyd, Director of Element Animation.
==Gallery==
=== Textures ===
<gallery>
Farmer (texture) JE1.png|Farmer texture
Librarian (texture) JE1.png|Librarian/cartographer texture
Priest (texture) JE1.png|Priest texture
Blacksmith (texture) JE1.png|Blacksmith texture
Butcher (texture) JE1.png|Butcher texture
Nitwit (texture) JE1.png|Nitwit texture
</gallery>
=== Mojang images ===
<gallery>
File:Jeb release 21 May 12.png|An image released earlier by Jeb showing separated villagers.<ref>{{tweet|jeb_|204610409980903425|This is how I perform experiments on Testificates:|May 21, 2012}}</ref>
File:Villager trading preview.png|The first image of the trading system released by [[Jeb]]. Rubies that later became [[emerald]]s can be seen in the [[inventory]] space.
</gallery>
===Unused Textures===
<gallery>
File:Angry Villager Particle.png|The unused angry villager particle.
File:Unused villager speech bubble.png|The unused villager speech bubble.
File:Villager (texture) JE1.png|An odd combination of Steve and a villager.
</gallery>
===Other===
<gallery>
File:IntentionForVillageSteve.png|An interpretation of what the steve villager hybrid would look like.
</gallery>
=== Screenshots ===
<gallery>
File:NPCprerel.png|Villager in Beta 1.9-pre1, when villagers had the word "TESTIFICATE" displayed over their heads.
File:ChildrenVillagers.png|A group of villager children socializing together.
File:Fullhouse.png|A house full of villagers.
File:Villager see invisible player.png|A villager looking at the player, who is invisible, thus proving that Villagers can see invisible players.
File:Villager in minecart.png|A villager riding a minecart.
File:PurpleTrade.png|A priest villager giving bread to a librarian.
File:12w21a ShearsPurchase.png|Purchasing shears from a villager before the 1.14 update.
File:FeatherFallingIV-Villager.png|Purchasing Feather Falling IV enchanted book from a villager before the 1.14 update.
File:Cure baby zombie.png|A baby zombie villager (before 1.9) getting cured.
File:Baby Cured.png|A baby villager cured from being a zombie.
File:Villager running away from mob of zombies.png|A brown-robed villager running away from a group of burning zombies.
File:ChildrenPriestLibrarian.png|Baby villagers in a butcher shop.
File:Unused Green Villager.png|The previously-unused Nitwit villager in-game.
File:Old villager texture update comparison.png|A villager [[Texture Update]] comparison.
File:Jeb release 21 May 12.png|Villagers trapped in holes.
File:Creeper Priest.png|More villagers trapped in holes.
File:Big Fans of Emeralds.png|Villagers looking at a player holding an emerald block.
File:Villagers in Love.png|Villagers in love.
</gallery>
===In other media===
<gallery>
File:The 13w22a Banner.png|The 13w22a Banner.
File:Villager Artwork.png|Official artwork of a villager.
File:Blue Villager.png|The blue-robed villager found in the 1.6 update poster.
File:Horse Update image.png|Villagers in promotional artwork for the [[Horse Update]].
File:World of Color Update.png|Villagers in promotional artwork for the [[World of Color Update]].
File:LEGO Minecraft Micro-Mobs 2.jpg|Villager micromob (right) from [[Lego Minecraft]].
File:LEGO Brown Testificate.png|Lego Minecraft farmer villager minifigure.
File:LEGO White Testificate.png|Lego Minecraft librarian villager minifigure.
Nurm.png|[[Nurm]], a villager featured in ''[[Minecraft: Story Mode]]''.
</gallery>
==References==
{{reflist|group="note"}}
{{reflist}}
== Navigation ==
{{Navbox mobs}}
[[Category:Passive mobs]]
[[Category:Removed mobs]]
[[Category:Humanoid mobs]]
[[de:Dorfbewohner/Vor 1.14]]
[[es:Aldeano (antiguo)]]
[[pt:Aldeão (antigo)]]
[[th:ชาวบ้าน (เก่า)]]
[[zh:村民/村庄与掠夺前]]