The bug
When right clicking on a flower pot containing something, the contents are retrieved as an item. Much like is the case for other blocks which produce an item on right click (pumpkins MC-269838, beehives MC-269839, sweet berry bushes MC-273943), these appear to be completely hardcoded rather than loot table driven.
How to fix
Introduce a dedicated loot table for right clicking on each potted object for handling the item dropped.
Linked issues
relates to
Comments


Thank you for your report!
After consideration, the issue is being closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm in 1.21 by code analyzation of
FlowerPotBlock#onUse
. I can also not find any loot table relating to this.The code seems to give the item back outright.
Please correct me if this is not the related code. 🙂