Villager rollback
作者:rebot | 分类:模组
Minecraft 版本: 1.21.11
平台: datapack
标签: management mobs storage
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 message3: 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.rollback4: Run the '/villager_rollback', '/villagerrollback' or '/villager' command.
Demonstration
请登录后举报
暂无评论,抢个沙发吧~