This might be intentional, but it isn't stated anywhere in the changelog, so I decided to create this post after someone said it wasn't in the changelog.
The Bug
If a mob or player is close to a Warden when it sniffs 3 times in a row without colliding with it, the Warden will get angry at said mob or player.
Steps to Reproduce
Create a pretty big area. (I used a 7x7 area with a wool floor so I could run)
Summon a Warden in the 7x7 area
Go into survival.
Start playing Marko Polo, making sure to keep a good distance from the Warden after each sniff.
Notice how it doesn't get angry after 3 sniffs if you are far enough away.
Kill the Warden with /kill @e[type=minecraft:warden]
Place fences to divide your test area.
Summon a new warden on one side and any mob on the other side, making sure that the Warden and the mob are pretty close. (The player can also be that mob on the other side)
Wait for the Warden to sniff the player or any mob 3 times
Observed Result:
The Warden gets angry at the player or mob after 3 sniffs.
Expected Result:
The Warden will not get angry at the player or mob after 3 sniffs.
Comments 5
@Chava you are right. The mobs or players need to be within a certain radius for the Warden to get angry after 3 sniffs. I played Marko Polo with the Warden, but made sure to stay close to it without colliding with it. The Warden got angry after the 3rd sniff. In my testing with the path being obstructed, the mob was pretty close, so it was probably within that radius. I'll update the title and description.
@unknown Since you are the reporter, you don't need to comment the versions this bug affects, you can add them yourself 🙂
Can confirm, on my testing they only get angry if said entity is within a 5 block radius of it, players included. Also not necessarily needs to be unreachable, just within said distance.