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
This datapack modifies the Terramity "hexed" effect to reduce damage dealt to mobs by 80% while keeping player damage unchanged. It uses a custom damage modifier system that detects when the hexed effect is active, checks the target entity type, and applies a 0.2x damage multiplier to mobs only. Players receive full damage as normal. The datapack includes a scoreboard-based tracking system and a tick function that continuously monitors damage events, ensuring compatibility with both hostile and passive mobs while preserving the original effect behavior for player-versus-player combat.