promotional bannermobile promotional banner

Villagers Can't Die | No Damage for Villagers and Wandering Traders (Achievement Friendly)

Villagers and wandering traders take no damage at all: zombies, skeletons, fire, lava, falls, drowning, TNT or stray arrows. So a zombie can't turn one into a zombie villager. Operators can still remove one with /kill.
hero-villagers.png

hero-villagers.png

no-damage-from.png

no-damage-from.png

commands.png

commands.png

Description

Your villagers and wandering traders can't die. That's the whole add-on: one small script, no experiments. Made for Realms, dedicated servers and local worlds; tested on the dedicated server, not yet on a real Realm.

What it does

  • Villagers and wandering traders take no damage at all: zombies, skeletons, fire, lava, falls, drowning, TNT, stray arrows.
  • A zombie can't kill a villager, so it can't turn into a zombie villager either.
  • Everything else is untouched, and it doesn't change the mobs' files, so other add-ons that change villagers still work.
  • /kill still clears one, so an operator can remove a villager.
  • /villagers shows who is protected. Operators change the settings with /villagersconfig (booleans as 1 or 0) or /villagersconfigtext, saved in the world: villagers, traders, allowKillCommand.

Tested

On the official Bedrock Dedicated Server 1.26.61:

  • 23 checks with simulated players in a Beta-APIs test world (the add-on itself uses no beta API): huge hits, 10 kinds of damage, real lava, real TNT, four real zombies for 10 seconds with no zombie villager appearing, a wandering trader, a cow still dying, /kill, and the switches.
  • 48 checks with real network clients in a world with no experiments and cheats off, shared with the other five packs of this batch: the commands, operator-only checks, settings from the game and the console, and settings surviving a restart and /reload. After the run, level.dat still shows cheats off and no experiment ever used.
  • 10 checks with real clients and all 25 of our Bedrock packs in one world.

Not tested: a real Realm, a real raid, or a real phone, console or PC client.

Lightning still turns a villager into a witch, as in the normal game: we saw it happen in a test. That is a change of mob, not damage, so the stable API can't stop it.

Install: open the .mcaddon, then add the behaviour pack to your world, or put it in your server's behavior_packs folder and list it in world_behavior_packs.json. Needs Minecraft 1.26.10 or newer; it has only been run on 1.26.61. Licence: MIT.

Not affiliated with Mojang or Microsoft.

More free tools: actuallyop.com

Villagers Can't Die | No Damage for Villagers and Wandering Traders (Achievement Friendly) Team

profile avatar
  • 3
    Followers
  • 90
    Projects
  • 7.4K
    Downloads

More from molonlav3View all