Step Up, but updated!
The original mod is here: https://www.curseforge.com/minecraft/mc-mods/stepup.
The code for this mod is not copied from the above mod, but the functionality is mostly the same. This mod uses mixins instead of event registration for very slightly better performance.