The advancement "Oh Shiny" doesn't trigger when mobGriefing is set to false.
What I expected to happen was...:
Piglins won't picked up dropped items (which seems to work correctly) but will still grant the "Oh Shiny" advancement if right clicked with a gold item/ingot and angry at the player.
What actually happened was...:
When right clicked, the Piglin takes the ingot and is distracted. Bartering takes place as normal, but the "Oh Shiny" advancement isn't granted.
Steps to Reproduce:
1. Set the gamerule "mobGriefing" to false
2. Go to the Nether so Piglins don't get zombified
3. Spawn a Piglin
4. Make the Piglin angry at you
5. Right click on the Piglin with a gold ingot. Everything will work as intended except that the "Oh Shiny" advancement won't be granted.
Comments 5
I didn't have the advancement, there are no datapacks on the world, and the piglin was attacking me. I was in survival mode when I gave the piglin the ingot.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response - this does not mean the report is not valid, we just need more information to verify it.
Please force a crash by pressing F3 + C
for 10 seconds while in-game and attach the crash report (minecraft/crash-reports/crash-<DATE>-client.txt) here.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
It seems to be working properly now. Either I must've been doing something wrong or something was fixed in 20w27a. Most likely the former.
I am unable to reproduce this, the advancement is granted - make sure that you did not already have the advancement, also that the advancement requirements isn't changed by a datapack and that they are angry at you when giving them the ingot.