Relates to MC-249782. The new advancement "Birthday Song" is designated as a challenge advancement (the ones with the sound effect with audible experience) but it grants no experience. This is inconsistant with all other challenge advancements, and is an oversight. The bug is either that these advancements shouldn't be challenges, or that they should grant experience.
Steps to Reproduce:
/advancement grant @s only minecraft:husbandry/allay_deliver_cake_to_note_block
Attachments
Comments 4
Can confirm in 1.19.1. You can reproduce this by executing the command provided below and observing how you're not awarded with any experience upon doing so.
/advancement grant @s only minecraft:husbandry/allay_deliver_cake_to_note_block
I can confirm this behavior in 1.19 Pre-release 3. Here's a code analysis regarding this issue.
Code Analysis:
The following is based on a decompiled version of Minecraft 1.19 Pre-release 3 using Mojang mappings.
net.minecraft.data.advancements.HusbandryAdvancements.java
If we look at the above class, we can see that the
rewards()
method (a method responsible for awarding experience to the player upon completing an advancement) is never called throughout this piece of code for the "Birthday Song" advancement, resulting in this advancement granting no experience upon being completed.