跳到正文

Vex Toggle

作者:FASTB1

This datapack allows players to turn on and off vex spawning via /trigger. Useful for pesky raid farms.

收藏

介绍

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

Have you ever had a Raid Farm that always spawns Vexes no matter what the video tutorial says? Well your issues are over. Introducing Vex Toggle: A datapack that allows you to turn off and on Vex spawning at your will.

Useage:

  • To turn off Vex spawning type: /trigger vexoff
  • To turn on Vex spawning type: /trigger vexon

How it works(For nerds like me):

  1. Uses scoreboards to track weather /trigger vexoff or /trigger vexon was run.
  2. Next it uses /execute commands to detect the scoreboard statuses
  3. The execute commands then run /function commands to enable functions that control the on and off of the Vexes
  4. This on and off works by having a scoreboard that is influcenced by the functions and, depending on what value it currently has, an execute command will detect it and run /kill @e[type=vex] every tick.

If you are more curious, your can see the code here: https://github.com/FASTB1mc/Vex-Toggle

If the datapack does not say “Vex Toggle by FASTB1-Loaded” in chat when you load a world, just run /reload and the datapack should load correctly. IDK why this happens.

常见问题

Vex Toggle 支持哪些 Minecraft 版本?

Vex Toggle 支持 Minecraft Java 版 1.21–26.3,共 17 个版本。下载时注意选择和你游戏版本一致的文件。

Vex Toggle 怎么安装?

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

评论

登录后评论和评分

FASTB1 的其他作品

查看全部 →