The model is finished, and all we need to do is use TenPlus1's mob API to bring our creation to life.
Download the .b3d exporter for Blender 2.79 here. There is another .b3d exporter for Blender 2.8+ that you can get here.
Also, the reason the dog wouldn't attack me is because I spawned it, any animal that you place in the world with a spawn egg registers as being a tamed/owned mob, so they won't attack you if you attack them. The code I'm using is correct for anything that naturally spawns, they will attack.