Best way to stop these from annoying you is to put a spike trap in front of it

More Diplodocus Encountering Tips