When goat is near the world border and jumps, it will sometimes pass through the world border.
How to reproduce
Change world border using command:
/worldborder set 10/worldborder set 10Spawn goat inside of world border
Execute:
/execute as @e[type=minecraft:goat,limit=1,sort=nearest] run data modify entity @s Brain.memories."minecraft:long_jump_cooling_down".value set value 1/execute as @e[type=minecraft:goat,limit=1,sort=nearest] run data modify entity @s Brain.memories."minecraft:long_jump_cooling_down".value set value 1
Attachments
Comments 5
I cannot seem to reproduce this issue in 1.21.2. My steps were to set the world border to 10, spawn a lot of goats, then place armor stands outside of the border. Putting the command inside of a repeating command block and waiting for the goats to ram never resulted in them leaving the border. Can you still reproduce this issue in the latest version? If so, it would be helpful to know how.
Can confirm. You can alter the goat's data through the use of the following command to make it perform a long jump: