

Villager Rollback
A simple datapack to roll back villagers that died in any way.
Features
- Villager data saving
- Storage of 500 villagers
- Saves name
- Zombified villagers not rolled back
- Custom rollback click menu
- Adjustable rollback distance
Commands & Setup
Option 1 (complicated command):
- Run the '/function villager_rollback:villager_rollback' command
Option 2 (simple command):
1: Add the https://modrinth.com/plugin/custom-commands and https://www.spigotmc.org/resources/mycommand.22272/ plugins to your server by 7AGAM and MRI 2: Add this to the config.yml in the CustomCommands folder:
villager_rollback: # Command trigger (/delwarp {args})
command: 'villager_rollback_dev' # The command to be executed
message: '' # A message
villagerrollback: # Command trigger (/delwarp {args})
command: 'villager_rollback_dev' # The command to be executed
message: '' # A message
villager: # Command trigger (/delwarp {args})
command: 'villager_rollback_dev' # The command to be executed
message: '' # A message
3: Create a villager_rollback.yml file in the MyCommand\commands folder and add this text:
villager_rollback_command:
command: /villager_rollback_dev
type: RUN_CONSOLE
runcmd:
- "execute as $player run function villager_rollback:villager_rollback"
permission-required: true
permission-node: mycommand.custom.villager.rollback
4: Run the '/villager_rollback', '/villagerrollback' or '/villager' command.
Demonstration
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as villager rollback 1.21.11.zip
- Download size: 23 KB
- Download link checked 23 Aug 2026 — working
These come from our own check of the pack file, not from the source page.