Goats charging at shulkers are unable to hit them. They then end up getting stuck in a ramming animation while trying to charge at the shulkers for a few seconds and then stops.
Linked issues
relates to 1
Attachments
Comments 8
Can confirm in 1.19.1. Instead of waiting for the goat to naturally ram the shulker, you execute the command provided below to make it ram its target within a couple of seconds.
/execute as @e[type=minecraft:goat,limit=1,sort=nearest] run data modify entity @s Brain.memories."minecraft:ram_cooldown_ticks".value set value 1
Can confirm.