The API misses the attacks from Goats. It is not possible to prevent them from ramming due to the missing call of EntityTargetEvent and EntityTargetLivingEntityEvent.
Also discussed here: https://www.spigotmc.org/threads/event-goat-ram.547133/#post-4366507