Vex Toggle

Quick rating

Community listing page, reviews here may not be monitored by the author.

Vex Toggle

By FASTB1Owner

No reviews yet

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

Mod Loaders
Minecraft
26.3 26.2

About

Description

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.