Goats can sometimes fall off edges when ramming entities
The Bug:
Goats can sometimes fall off edges when ramming entities.
Steps to Reproduce:
- Build an isolated line of blocks in the air.
- Summon a cow with NoAI:1b on the edge of the line of blocks.
/summon minecraft:cow ~ ~ ~ {NoAI:1b}
- Summon a goat.
- Alter the goat's data through the use of the following command, so that it rams the cow:
/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
- →
Notice how goats can sometimes fall off edges when ramming entities.
Created Issue:
Goats can sometimes fall off edges when ramming entities
The Bug:
Goats can sometimes fall off edges when ramming entities.
Steps to Reproduce:
- Build an isolated line of blocks in the air.
- Summon a cow with NoAI:1b on the edge of the line of blocks.
/summon minecraft:cow ~ ~ ~ {NoAI:1b}
- Summon a goat.
- Alter the goat's data through the use of the following command, so that it rams the cow:
/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
- →
Notice how goats can sometimes fall off edges when ramming entities.
Added Attachments:
Added Affects Versions: 1.17-pre1

You modified the entity data of the goat.
Not sure if that entity data command makes the goat run off edges.
This issue can be reproduced with or without the use of altering the goat's data, through the use of a command.
Can reproduce in 21w20a and 1.17-pre1