The bug
Mobs can't jump onto the azalea bush and flowering azalea bush (mobs attempt to pathfind through the azalea bush).
Code analysis
Code analysis and potential fix can be found in this comment.
Related issues
is duplicated by
relates to
Attachments
Comments

Can confirm. Could be intentional.
Video attached.

Can confirm.

It was quite amusing until a friend filled the village we live in with decorative azaleas. I have a feeling it's because maybe azaleas are grouped in with plants such as tall grass and flowers, mobs consider all these non-solid?

Can confirm in 1.17.1 Release Candidate 1. Also relates to MC-181565.

This is related to an issue I have found and posted. Azaleas severely ruin AI pathfinding.

Can still confirm for 1.18 Pre-1

I can confirm for 1.18. What I found interesting when I saw the bug is that the zombie did not jump on the nearby moss block either. I will put a screenshot of what I am talking about on this report.
Added vanilla-parity due to recent Bedrock beta changes.

In 22w05a, very noticeable in lush caves

Confirmed with 22w11a

Confirmed with 22w14a

In 22w15a, this also effects the Warden too though with its ranged attack its slightly less of an issue
[media]
Confirmed with 22w16b

Still in 22w18a

can confirm for 22w19a

Still in 1.19 Pre-1

In 1.19 Pre-2

Still in 1.19 Pre-3

In 1.19 Pre-4

Effects 1.19 Pre-5

Confirmed with 1.19.1 Release Candidate 1

Confirmed with 1.19.1 Pre-release 4

Confirmed with 1.19.1 Pre-release 5

Confirmed with 1.19.1 Pre-release 6

Confirmed with 1.19.1 Release Candidate 2

Confirmed with 1.19.1

Confirmed with 1.19.2

Confirmed with 22w42a

Confirmed with 22w43a

Confirmed with 22w44a

Code analysis (Mojang mappings, 1.19.2): This is somewhat tentative, but I believe this is what is happening: AzaleaBlock
extends BushBlock
; BushBlock#isPathfindable(...)
calls BlockBehaviour#isPathfindable(...)
, which returns true
(for the land and air path computation type) if it doesn't have a full block collision. Azalea blocks don't have a full block collision (they have a custom collision box), so it returns true
. As such, mobs think they can pathfind through them.
The easiest fix would be to create an isPathfindable(...)
method in AzaleaBlock
that overrides it to always return false
:
public boolean isPathfindable(BlockState $$0, BlockGetter $$1, BlockPos $$2, PathComputationType $$3) {
return false;
}

Confirmed with 1.19.3 Pre-release 2

Confirmed with 1.19.3 Pre-release 3

Confirmed with 1.19.3 Release Candidate 1

Confirmed with 1.19.3 Release Candidate 3

Doesn't even need to be enclosed they can't pathfind around even 1 azalea bush. Uploaded screenshot.

Confirmed with 1.19.3
It confuse all types of AI, Villager, Golems, etc. not only hostile Mobs.

Confirmed with 23w04a

Confirmed with 23w05a
Relates to MC-260196.

They also don't recognize Big Dripleafs as obstacles

Still a bug as of 1.20.4 and snapshot 24w13a