Well I wouldn't call that a BMX fork either

(Nor would I consider the Specialized Hotrock a BMX Bike either - but that's a different topic)
Regardless, that fork should work for you - I'd just double check that headset needs between the fork & the Hotrock.
-Bill