minecraft.wiki-mirror/wiki_backup/Hero of the Village.txt
2024-12-24 10:56:43 -05:00

208 lines
7 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.

{{about|the status effect|the advancement|Advancement#Hero of the Village|the board game|Minecraft: Heroes of the Village}}
{{Infobox effect
|image=Hero of the Village.png
|sources=Defeating a [[raid]]
|particle={{EffectSprite|particle-hero-of-the-village}} #44FF44 (bright green){{only|java}}<br>
none{{only|bedrock}}
|type=Positive}}
'''Hero of the Village''' (or '''village hero''') is a [[status effect]] granted to the [[player]] upon defeating a [[raid]].
== Effect ==
The effect lasts 40 minutes. {{IN|java}}, players receive gifts and discounts from villager [[trade]]s while under the effect. {{IN|bedrock}}, the player receives only discounts. The [[wandering trader]]'s trades are not affected.{{only|java|short=1}}{{info needed|What happens to Wandering Trader's trades in Bedrock Edition?}}
=== Animation ===
[[File:Hero of the Village Bedrock Animation.gif|The [[Bedrock Edition]] animation for the Hero of the Village effect activating.|alt=|thumb|280x280px]]
{{IN|bedrock}}, upon the effect being given a short animation of the effect icon appearing on the screen plays, similar to a [[totem of undying]].
=== Price decrement ===
Level I Hero of the Village decreases the cost of the first item in a trade by 30%; each additional level decreases the price by an additional {{frac|1|16}} (6.25%). In Survival, the maximum level is V{{only|java|short=1}} or I{{only|bedrock|short=1}}, giving discounts of 55% and 30%, respectively. Nevertheless, one can use commands to give higher levels of the effect. Hero of the Village XII gives a discount of 98.75%, decreasing all prices to 1. No matter how large the discount is, the final item count in the trade is always at least one, never zero. In other cases, the decrement is the discount ratio multiplied by the original count rounded down or rounded up if the decrement is less than 1.
Example: Level III would give a 42.5% discount. For trade with 14 [[emeralds]] as the cost, the discount would be 5 emeralds (rounded down from 5.95 emeralds), for a final price of 9 emeralds.
The formula can be written as <code>Discounted price = Initial price - max[1, floor(Initial price × (0.0625 × (Level - 1) + 0.3))]</code>.
Hero of the Village is a [[status effect]] and can be removed through all conventional methods, such as drinking [[milk]], using a Totem of Undying, or dying.{{only|java}}
=== Gifts ===
{{exclusive|java}}
Upon obtaining the effect, villagers randomly throw items from a certain pool at the player as rewards, listed below. In order for a player to have gifts thrown to them, they must have Hero of the Village, the villager must be able to see them, and they must be within 5 blocks of the villager. After throwing a gift, a villager enters a cooldown lasting between 30 seconds and 5min 30 sec. Villagers give gifts only while idle, working, or meeting at the town center (bell). They do not give gifts during the night when they should be sleeping.
{| class="wikitable sortable"
!Type of villager
!Gift pool
|-
|Baby
|
*{{BlockLink|Poppy}}
|-
|Armorer
|
*{{ItemLink|Chainmail Helmet}}
*{{ItemLink|Chainmail Chestplate}}
*{{ItemLink|Chainmail Leggings}}
*{{ItemLink|Chainmail Boots}}
|-
|Butcher
|
*{{ItemLink|Cooked Chicken}}
*{{ItemLink|Cooked Mutton}}
*{{ItemLink|Cooked Porkchop}}
*{{ItemLink|Cooked Rabbit}}
*{{ItemLink|Steak}}
|-
|Cartographer
|
*{{ItemLink|Empty Map}}
*{{ItemLink|Paper}}
|-
|Cleric
|
*{{ItemLink|Lapis Lazuli}}
*{{ItemLink|Redstone Dust}}
|-
|Farmer
|
*{{ItemLink|Bread}}
*{{ItemLink|Cookie}}
*{{ItemLink|Pumpkin Pie}}
|-
|Fisherman
|
*{{ItemLink|Raw Cod}}
*{{ItemLink|Raw Salmon}}
|-
|Fletcher
|
*{{ItemLink|Arrow}}
*{{ItemLink|Arrow of Fire Resistance}}
*{{ItemLink|Arrow of Harming}}
*{{ItemLink|Arrow of Healing}}
*{{ItemLink|Arrow of Invisibility}}
*{{ItemLink|Arrow of Leaping}}
*{{ItemLink|Arrow of Night Vision}}
*{{ItemLink|Arrow of Poison}}
*{{ItemLink|Arrow of Regeneration}}
*{{ItemLink|Arrow of Slowness}}
*{{ItemLink|Arrow of Strength}}
*{{ItemLink|Arrow of Swiftness}}
*{{ItemLink|Arrow of Water Breathing}}
*{{ItemLink|Arrow of Weakness}}
|-
|Leatherworker
|
*{{ItemLink|Leather}}
|-
|Librarian
|
*{{ItemLink|Book}}
|-
|Mason
|
*{{BlockLink|Clay}}
|-
|Shepherd
|
*{{BlockLink|Wool}}
|-
|Toolsmith
|
*{{ItemLink|Stone Axe}}
*{{ItemLink|Stone Hoe}}
*{{ItemLink|Stone Pickaxe}}
*{{ItemLink|Stone Shovel}}
|-
|Weaponsmith
|
*{{ItemLink|Stone Axe}}
*{{ItemLink|Golden Axe}}
*{{ItemLink|Iron Axe}}
|-
|Nitwit, Unemployed
|
*{{ItemLink|Wheat Seeds}}
|}
If {{cmd|gamerule mobGriefing}} is set to <code>true</code>, villagers might pick up seeds and bread that were thrown as gifts if a player doesn't get to them first.
== Causes ==
{| class="wikitable" data-description="Causes"
! Cause
! Potency
! Length
! Notes
|-
| rowspan="2" |All [[illager]]s in the final wave of a [[raid]] are killed.
| IV {{only|java|short=yes}}
| 40:00
| The player must have killed at least one raider. The level is the same as the level of [[Bad Omen]] the raid was started with.
|-
| I {{only|bedrock|short=yes}}
| 40:00
| The player must have killed at least one raider.
|}
Even using the {{cmd|effect}} command can give the player the Hero of the Village effect and cause the villagers to decrease prices, give gifts, and increase the player's popularity.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|shownumericids=y
|generatetranslationkeys=y
|displayname=Hero of the Village
|spritetype=effect
|nameid=hero_of_the_village
|id=32
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Hero of the Village
|spritetype=effect
|nameid=village_hero
|id=29
|translationkey=effect.villageHero
|foot=1}}
== Achievements ==
{{load achievements|Buy Low}}
== Advancements ==
{{load advancements|How Did We Get Here?;Hero of the Village}}
== History ==
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine||1.14|dev=19w13a|[[File:Hero of the Village JE1 BE2.png|18px]] Added Hero of the Village.}}
|{{HistoryLine||1.19.3|dev=22w46a|The inventory now correctly shows the remaining time on the Hero of the Village effect, instead of <code>**:**</code>.<ref>{{bug|MC-121865}}</ref>}}
|{{HistoryLine|bedrock}}
|{{HistoryLine||1.11.0|dev=beta 1.11.0.1|[[File:Hero of the Village BE1.png|18px]] Added Hero of the Village. Currently has no effect.}}
|{{HistoryLine|||dev=beta 1.11.0.3|[[File:Hero of the Village JE1 BE2.png|18px]] Changed Hero of the Village icon.}}
|{{HistoryLine|||dev=beta 1.11.0.4|Hero of the Village now grants a villager trading discount.
|Hero of the Village can be obtained by defeating a [[raid]].}}
|{{HistoryLine|||dev=beta 1.11.0.7|An animation now plays on-screen when a player gets Hero of the Village.}}
|{{HistoryLine|ps4}}
|{{HistoryLine||1.91|[[File:Hero of the Village JE1 BE2.png|18px]] Added Hero of the Village.}}
}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
== Navigation ==
{{Navbox effects}}
[[de:Held des Dorfes]]
[[es:Héroe de la aldea]]
[[fr:Héros du village]]
[[it:Eroe del villaggio]]
[[ja:村の英雄]]
[[ko:마을의 영웅]]
[[pt:Herói da Vila]]
[[ru:Герой деревни]]
[[zh:村庄英雄]]