The bug
Despite that MC-127326 has been fixed, the particles of rain on the water appear below the upper layer of water in the oceans.
How to reproduce
Video demonstrating the issue: https://youtu.be/eKOr2Dj-iEE
Code analysis
Code analysis by @unknown can be found in this comment.
Related issues
is duplicated by
Attachments
Comments


Confirmed, "rain hitting block" particles appear 1 block below water.

Affects 1.13-pre2.
Confirmed for 1.13.1

Was about to make a ticket about this. Good thing I searched. Here is a video showing the problem better than screenshots can show. https://youtu.be/eKOr2Dj-iEE
From what I can see the Bug is in the ParticleRain class where it detects the fluid level incorrectly.
if (ifluidstate.getHeight() > 0.0F) {
d0 = (double)ifluidstate.getHeight();
} else {
d0 should be calculating the fluid height from top down, as in previous versions of the game. (1.0 - height).
if (ifluidstate.getHeight() > 0.0F) {
d0 = 1.0D - (double)ifluidstate.getHeight();
} else {

Confirmed for 1.13.2-pre1.

Seems to be in the newest 1.14 snapshots as well. 18w44a has it.

Confirmed for 19w07a.

I have the same problem in 1.14 pre-release 2

Just wanted to touch base with this. Confirmed for 1.14 official release.
A new video showing more detail of the particle vs fluid height bug: https://youtu.be/eoMUmB0zqvg
Same as my last comment, the bug can be fixed by calculating the 1 minus fluid height instead of 0 plus fluid height.
fluidstate.getHeight() returns the amount of air above the fluid's surface, NOT the amount of fluid under the surface.
This can clearly be seen in this video where each fluid height step up makes the particles spawn height step down.

Confirmed for 1.14.2 pre-release 1

This bug can also be reproduced in lava
[media]
Affects 1.15 Pre-release 7

Affects 1.15.

Pretty sure water renders over rain.