Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-249344

Fluids do not snap to blocks above them in certain cases, causing undesirable gaps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 22w11a, 22w18a, 1.19, 1.19.2, 1.21.1, 24w36a
    • Confirmed
    • Parity, Rendering

      The bug

      When a fluid source is surrounded on all four sides and from above by either full solid blocks or other fluid sources, it does not appear as a full cube. This is an issue for several reasons:

      • This constitutes a parity issue, as this behaviour is present in Bedrock Edition, and is valid due to 1.18.2's changes made to fluid rendering.
      • In certain cases such as ice above water, that water does not snap upwards to the ice, which causes weird-looking inclines at block edges.
      • In Spectator mode, the tops of underground fluid bodies are always visible, even though the other five sides never are, which makes visibility needlessly difficult.

      How to reproduce

      1. Create a 3x3x3 hollow cube of glass (optionally have one side be a separate block that allows pixels to be counted)
      2. Place water or lava in the center of the cube, and then close it in the cube

      Expected results

      The fluid inside the cube would appear as a full, 16x16x16-pixel cube.

      Actual results

      The fluid inside instead appears to be a roughly 16x14x16 cuboid.

        1. 2022-03-22_20.31.54.png
          2022-03-22_20.31.54.png
          189 kB
        2. 2022-03-22_20.30.34.png
          2022-03-22_20.30.34.png
          179 kB
        3. 2022-03-22_20.18.38.png
          2022-03-22_20.18.38.png
          332 kB
        4. 2022-03-22_20.30.38.png
          2022-03-22_20.30.38.png
          348 kB
        5. 2022-03-22_20.19.21.png
          2022-03-22_20.19.21.png
          395 kB
        6. 2022-03-22_20.19.37.png
          2022-03-22_20.19.37.png
          452 kB
        7. 2022-03-22_20.19.34.png
          2022-03-22_20.19.34.png
          428 kB
        8. 2022-03-22_20.19.18.png
          2022-03-22_20.19.18.png
          615 kB
        9. ED13CDDE-EB4F-44A9-9F9E-E501FEEA1EC4.png
          ED13CDDE-EB4F-44A9-9F9E-E501FEEA1EC4.png
          1.43 MB
        10. 4CC17A5A-54F0-40D5-BB7B-211893EDAA66.png
          4CC17A5A-54F0-40D5-BB7B-211893EDAA66.png
          1.78 MB
        11. 3634A267-7140-4EF8-9CC1-84A0D4B013B6.png
          3634A267-7140-4EF8-9CC1-84A0D4B013B6.png
          1.22 MB
        12. 81423E99-C48C-4DDC-B3AB-BEB9EA738805.png
          81423E99-C48C-4DDC-B3AB-BEB9EA738805.png
          1.37 MB
        13. CBBDCFE0-9D36-4D07-A906-9E69ED0CC319.png
          CBBDCFE0-9D36-4D07-A906-9E69ED0CC319.png
          1.43 MB
        14. A40A4073-ABD8-491A-B8F2-1C49A8CEDF04.png
          A40A4073-ABD8-491A-B8F2-1C49A8CEDF04.png
          1.70 MB
        15. 2022-05-07_19.50.09.png
          2022-05-07_19.50.09.png
          445 kB
        16. 2022-10-15_22.04.27.png
          2022-10-15_22.04.27.png
          559 kB
        17. 2022-10-15_22.04.37.png
          2022-10-15_22.04.37.png
          564 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: