Skip to content
[/craft]

Hero Of The Village Effect Command

Copy the /effect command for Hero Of The Village in Minecraft Java 26.2 and Bedrock 26.32. Default, infinite-duration, amplifier variants, and the clear command are all below.

Infinite duration (Java)

Java/effect give @p minecraft:hero_of_the_village infinite

The infinite keyword was added in Java 1.19.4. Use the legacy form below for older versions.

Max-duration / legacy (Java)

Java/effect give @p minecraft:hero_of_the_village 1000000 0
Bedrock/effect @p hero_of_the_village 9999 0

Clear Hero Of The Village

Java/effect clear @p minecraft:hero_of_the_village
Bedrock/effect @p hero_of_the_village 0

To clear all effects at once: /effect clear @p

What Hero Of The Village does in-game

Granted after successfully defending a raid. Gives discounts on villager trades for several minutes.

Frequently asked questions

What does Hero Of The Village do in Minecraft?
Granted after successfully defending a raid. Gives discounts on villager trades for several minutes.
How long does Hero Of The Village last with the infinite command?
On Java Edition, the 'infinite' keyword makes the effect last until you manually clear it with /effect clear. On Bedrock, the maximum you can specify is 1,000,000 ticks (about 13.8 hours).
Does the Hero Of The Village command work in Bedrock Edition?
Yes — use the Bedrock command shown above. Bedrock syntax omits the 'give' subcommand and 'minecraft:' namespace prefix, and does not support the 'infinite' keyword.
Browse all Effect commands →/effect builder →Java vs Bedrock guide →