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
Adjusts iron golem aggro behavior so they never target or become aggravated by villagers or snow golems, even when accidentally hit by them. All other vanilla behaviors remain unchanged, including aggro against hostile mobs and other attackers. Implements a lightweight tick-based check using scoreboard tags to track recent damage sources, avoiding entity data modifications. Optimized for minimal performance impact with no stuttering, using efficient predicate checks and no world-altering parameters to ensure world integrity and vanilla compatibility.