If you place down a Trial Spawner and then insert a mob via a mob spawn egg, kill the mobs, the Spawner will not drop Ominous Keys if Ominous mode is enabled. I believe this has to do with the NBT data of the block, but I assume this is a bug because why can't I make a custom Trial Chamber with creative mode I figured that would make sense.
In summary, Trial Spawner when in Ominous mode (Spawners placed by a Player), do NOT drop an Ominous Key despite being in Ominous Mode.
Thank you for your report!
We're tracking this issue in MC-273048, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki