
The original project has been updated to 1.17.1: use https://www.curseforge.com/minecraft/mc-mods/always-drop-loot
In vanilla, mobs only drop experience and/or rare loot when killed by a player, not when killed by their environment. With this mod, mobs will always drop experience orbs and loot, regardless of cause of death. This is useful for people who like to build passive mob farms and such.
1.16.1 port of https://www.curseforge.com/minecraft/mc-mods/always-drop-loot