The "headhunter" datapack for Minecraft utilizes the 1.21+ loot table system to ensure player heads drop upon death in a seamless and vanilla-friendly way to collect heads.