If you are inside a building or just under cover, picking up an item off the ground while it's raining outside will cause the rain to momentarily appear inside while the item enters your inventory.
Environment
Intel Core i7, Nividia Geforce GTX 660m 2G, Java 14
Thank you for your report!
We're actually already tracking this issue in MC-163575, so I resolved and linked this ticket 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 in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki