Detects when a player pops a custom totem named "Totem of Null" via the used_totem advancement trigger, executes a function that kills all online players on team Null, and revokes the advancement for reuse. Includes the exact 1.21 component give command for the custom totem with a vanishing curse enchantment.
About
Establishes a modular datapack foundation for a vanilla-compatible magic system in Minecraft 1.21.11. Implements load/tick registration, a spell-casting framework with activation, cooldown tracking, and state management, plus a reusable timed-sequence architecture for animations. Includes safeguards against duplicate execution and stuck casting states, supporting multiple simultaneous players. Designed for future expansion with particle, sound, projectile, and area-effect events.