Just updated the info.json to be 2.0 so can be used in 2.0. No other code was touched. Tested fine thus far. Will happily remove if original mod authors update original or request so.
Original Description
nice try, train
prevent death when a player is hit by a train or wagon ⚙️
usage
on deathful impact, your health is still minimized. in other words, getting hit
by a train still really hurts, by won't put you under 🥀.