Mojira Archive
MC-206322

minecraft.custom:minecraft.talked_to_villager doesn't add the score when right-clicking a baby villager

The bug

For a baby villager, age < 0,  right clicking does not trigger the stat.talkedToVillager score which limits the ability to create baby villager dialogue mechanisms in adventure maps. 

To reproduce

Add a scoreboard objective as follows:
/scoreboard objectives add VillagerClick minecraft.custom:minecraft.talked_to_villager

Then show the VillagerClick objective in the sidebar:

/scoreboard objectives setdisplay sidebar VillagerClick

Clicking on an adult villager increments the VillagerClick counter but clicking on a baby villager does not.

Code analysis

Code analysis by [Mod] Avoma can be found in this comment.

Unresolved

Ken

2020-11-22, 09:32 AM

2023-12-17, 06:44 PM

4

5

Confirmed

Statistics

1.16.4 - 1.20.41.16.4, 20w49a, 20w51a, 21w03a, 1.16.5, 21w07a, 21w08b, 21w13a, 21w14a, 21w16a, 21w17a, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19.2, 23w03a, 1.19.4, 23w14a, 1.20.1, 1.20.4

-