Minecraft – How much of a drop will a mob voluntarily walk off of in Minecraft

minecraft-java-edition

I've noticed that mobs don't just walk off of cliffs on their own accord. They stop when they sense a cliff (unless they are chasing you). How high does a cliff have to be for them not to walk off of it?

Best Answer

A pig will voluntarily walk off an edge 3 blocks high, but not an edge 4 blocks high.

To investigate this, I started with @xfs's proof that a pig will not jump off blocks in a 9-patch arrangement if the drop is too high. I then constructed the following apparatus to find the maximum distance a pig would voluntarily jump off:

2 Block height
As you can see, a 2 block drop is fine

3 Block height
A 3 block drop is also fine

4 Block height
At a 4 block drop the pigs no longer jump off voluntarily

Conclusion: The highest drop pigs will drop off voluntarily is 3 blocks