Context:
I know it sounds very specific, but it is something that has been asked several times on the MCC Discord server, and I have personally faced this issue yesterday.
When you set up a custom advancement with the "consume_item" trigger and consume an item, no matter if it is a food item or a potion, and whatever your game mode is, it will trigger the advancement once. But if you do it specifically with a Honey Bottle in Creative mode, the game will trigger the advancement twice.
Suspicion:
The fact that you are in Creative Mode will give a honey bottle back to the player instead of an empty bottle you should normally get in other game modes. The process may confuse what the player was holding and is currently holding after the consumption, triggering the advancement twice.
How to reproduce:
Create a new world in creative mode and and install the example data pack from the attached files.
Get a honey bottle and consume it.
Current result: The reward function will run twice, sending the "I consumed a Honey Bottle!" message twice in the chat.
Expected result: The reward function should run only once, sending an unique "I consumed a Honey Bottle!" message in the chat.
Attachments
Comments 3
Yeah, same conditions, same steps to reproduce, just different parts of thegame responding. Underlying issue is absolutely the same.
Thank you for your report!
We're tracking this issue in MC-182814, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Wouldn't this be considered a duplicate of MC-182814? If so, I'm more than happy to edit MC-182814 to update it with this new information.