Goats can jump when on honey blocks if it is covered by any carpet type (wool or moss).
Other mobs and players cannot jump when on carpet covered honey blocks.
Reproduce
Make a box like the one in the image below
Wait until the goat does a high jump from the carpet covered honey blocks
unable to reproduce