Goats will attempt to ram entities that are outside of the world border.
Steps to Reproduce:
- Set the center of the world border to your current position, along with making it 50 blocks wide.
- Spawn a cow next to the world border.
- Shrink the world border so that the cow is outside of it.
- Spawn a goat and wait for it to ram the cow, or you can use the following command to make it ram the cow:
→ Notice how goats will attempt to ram entities that are outside of the world border.