跳到正文

Villager rollback

作者:bluesparksss

A datapack that is able roll back villagers that recently died. All of the villagerdata is saved.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Villager rollback 支持哪些 Minecraft 版本?

Villager rollback 支持 Minecraft Java 版 1.21.5–1.21.11,共 7 个版本。下载时注意选择和你游戏版本一致的文件。

Villager rollback 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

bluesparksss 的其他作品

查看全部 →