Straightforward port from 1.21.4 to 1.21.11
Thanks to @Lumpi14 for most of the updating work!
Allows you to automatically apply arbitrary modifications to all recipes at runtime in a simple way.