Dan, you can set the engagedistance in the mod if you want,
put "gamerule" without the " s in the top of your mods
and under it put "engagedistance #" (without " s) replace # with your engage distance
I know that, but if you change something in the game rules after you load the mod, it resets itself back to the last settings you had. Anyway I'm letting people experiment with my mods, and the game rules.