Swift Death
Source: https://github.com/Sarinsa/InstantDeath/
Discussion: https://discord.gg/GFTzTdX
Do you ever feel like dangerous stuff like drowning, falling into lava or starving aren't quite as deadly as you had wished? Or maybe you want to kill the Ender Dragon in one blow using a cactus? This mod has got you covered!
Swift Death is a very small, lightweight mod that allows you to configure what damage types should instantly kill, and what entity types should be affected. By default, these damage types include drowning, starving and lava.