-
Bug
-
Resolution: Unresolved
-
None
-
1.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
-
None
-
Confirmed
-
Statistics
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 Avoma can be found in this comment.