Compatibility
Minecraft: Java Edition
1.21.5–1.21.11
Platforms
Tags
Creators
Details
Licensed MIT
Published 20 hours ago
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.


