When standing within an enclosed building or in a cave during a rainstorm, or rain of any kind, picking up an item causes the game to briefly render the rain in-front of the blocks you are looking at.
Environment
Dell Inspiron 13-5378, 8GB Ram, x64 Windows 10 Home Edition, Java 1.8.0_251.
This looks like a duplicate of
MC-168735
MC-163575