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
A Minecraft datapack that triggers a global gravity randomization whenever any block is mined. The pack uses a scoreboard objective to track block mining events, then executes the /gravity randomise @a command to randomly alter gravity for all players. It includes a custom advancement that detects block breaking, a tick function that monitors the advancement trigger, and a function that applies the gravity change. The datapack also features a configurable cooldown system to prevent excessive gravity shifts, ensuring a chaotic but manageable gameplay experience where every mined block could flip the world's physics.