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

Wrong rendering order of hitboxes, clouds, transparent blocks, particles, and breaking animations

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Snapshot 13w06a, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Snapshot 13w09c, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Snapshot 13w16a, Snapshot 13w16b, Minecraft 1.5.2, Snapshot 13w17a, Snapshot 13w18a, Snapshot 13w18b, Snapshot 13w18c, Snapshot 13w19a, Snapshot 13w21a, Snapshot 13w21b, Snapshot 13w22a, Snapshot 13w23a, Snapshot 13w23b, Snapshot 13w24a, Snapshot 13w24b, Snapshot 13w25a, Snapshot 13w25b, Snapshot 13w25c, Snapshot 13w26a, Minecraft 1.6, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.3, Minecraft 1.6.4, Minecraft 13w36a, Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39a, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b, Minecraft 13w42a, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 13w47a, Minecraft 13w47b, Minecraft 13w47c, Minecraft 13w47d, Minecraft 13w47e, Minecraft 13w48a, Minecraft 13w48b, Minecraft 13w49a, Minecraft 1.7.3, Minecraft 1.7.4, Minecraft 14w02a, Minecraft 14w02b, Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w04a, Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w05b, Minecraft 14w06a, Minecraft 14w06b, Minecraft 14w07a, Minecraft 14w08a, Minecraft 1.7.5, Minecraft 14w10b, Minecraft 14w10c, Minecraft 14w11b, Minecraft 1.7.9, Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w20a, Minecraft 14w20b, Minecraft 14w21a, Minecraft 14w21b, Minecraft 14w25b, Minecraft 1.7.10, Minecraft 14w28a, Minecraft 14w28b, Minecraft 14w29a, Minecraft 14w29b, Minecraft 14w30b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 1.8.4, Minecraft 1.8.8, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32b, Minecraft 15w32c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34d, Minecraft 15w35b, Minecraft 15w35e, Minecraft 15w36b, Minecraft 15w36c, Minecraft 15w36d, Minecraft 15w39c, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43a, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, Minecraft 15w46a, Minecraft 15w47a, Minecraft 15w47c, Minecraft 15w50a, Minecraft 15w51b, Minecraft 16w05b, Minecraft 16w06a, Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.2, Minecraft 1.9.3 Pre-Release 1, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.9.4, Minecraft 16w20a, Minecraft 16w21a, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w36a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4, Minecraft 1.12 Pre-Release 5, Minecraft 1.12 Pre-Release 6, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2 Pre-Release 1, Minecraft 1.12.2 Pre-Release 2, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed

      Description

      Affected cases

      1. Particles generally render behind transparent blocks, hitboxes, breaking animations and transparent clouds, often making them barely visible.
      2. As of 13w41a, hitboxes render in front of transparent blocks - it simply looks weird when you can see the hitbox of blocks through the water surface (see water_hitbox.jpg) or the rear (normally less visible) parts of the hitbox through a transparent block like ice or stained glass. As of 1.7, the behavior changed: Hitboxes now render behind transparent blocks!
      3. Transparent clouds 1 always render in front of transparent blocks and hitboxes (looks pretty weird, see clouds_glass.jpg).
      4. The energy field around invisible charged creepers renders behind water and transparent clouds, but in front of hitboxes. Particles and other transparent blocks show no rendering order problems in this case. You can spawn invisible charged creepers with the following command:
        /summon creeper ~ ~1 ~ {powered:1b,ActiveEffects:[{Id:14,Duration:2000000}]}
        
      5. Firework explosions cause water and stained glass to not be rendered around firework.
      Notes

      1 "Transparent clouds" means: Clouds turn transparent when you move above y=128 (MC-997). Before Jeb reverted the fix of MC-997, clouds were always transparent at all heights, which can be seen here 2013-02-27_21.46.57.png)

      Code analysis

      See this comment.

        Attachments

        1. 1.8 XPOrb shadows.png
          1.8 XPOrb shadows.png
          232 kB
        2. 14w30c colored glass.png
          14w30c colored glass.png
          1.84 MB
        3. 14w30c Ender Dragon Death.png
          14w30c Ender Dragon Death.png
          530 kB
        4. 14w30c Ender Dragon Death Other Mobs infront.png
          14w30c Ender Dragon Death Other Mobs infront.png
          2.34 MB
        5. 14w30c moving worldborder.png
          14w30c moving worldborder.png
          1.88 MB
        6. 2013-02-27_21.46.57.png
          2013-02-27_21.46.57.png
          23 kB
        7. 2013-10-21_14.05.44.png
          2013-10-21_14.05.44.png
          1.99 MB
        8. 2013-10-27_11.37.03.png
          2013-10-27_11.37.03.png
          410 kB
        9. 2013-11-17_17.12.53.png
          2013-11-17_17.12.53.png
          972 kB
        10. 2014-01-24_11.03.24.png
          2014-01-24_11.03.24.png
          73 kB
        11. 2014-01-25_00.12.39.png
          2014-01-25_00.12.39.png
          155 kB
        12. 2014-02-07_15.46.15.png
          2014-02-07_15.46.15.png
          351 kB
        13. 2014-02-23_16.24.54.png
          2014-02-23_16.24.54.png
          722 kB
        14. 2014-03-14_16.46.52.png
          2014-03-14_16.46.52.png
          130 kB
        15. 2014-03-25_23.47.43.png
          2014-03-25_23.47.43.png
          567 kB
        16. 2014-04-25_09.48.12.png
          2014-04-25_09.48.12.png
          399 kB
        17. 2014-07-31_13.42.34.png
          2014-07-31_13.42.34.png
          748 kB
        18. 2014-09-06_23.31.14.png
          2014-09-06_23.31.14.png
          234 kB
        19. 2015-03-21_21.26.41.png
          2015-03-21_21.26.41.png
          175 kB
        20. 2015-08-29_10.28.11.png
          2015-08-29_10.28.11.png
          958 kB
        21. 2015-09-04_18.27.42-.png
          2015-09-04_18.27.42-.png
          1.39 MB
        22. 2015-09-06_21.07.24.png
          2015-09-06_21.07.24.png
          385 kB
        23. 2015-10-23_13.50.16.png
          2015-10-23_13.50.16.png
          849 kB
        24. 2015-10-23_13.54.34.png
          2015-10-23_13.54.34.png
          341 kB
        25. 2015-10-23_13.54.41.png
          2015-10-23_13.54.41.png
          370 kB
        26. 2015-10-28_18.31.08.png
          2015-10-28_18.31.08.png
          392 kB
        27. 2015-11-20_22.55.35.png
          2015-11-20_22.55.35.png
          209 kB
        28. 2015-11-20_22.55.56.png
          2015-11-20_22.55.56.png
          209 kB
        29. 2015-11-20_22.56.36.png
          2015-11-20_22.56.36.png
          221 kB
        30. 2015-11-20_22.56.55.png
          2015-11-20_22.56.55.png
          184 kB
        31. 2015-11-20_22.57.53.png
          2015-11-20_22.57.53.png
          267 kB
        32. 2015-12-12_15.56.26.png
          2015-12-12_15.56.26.png
          631 kB
        33. 2015-12-25_09.44.35.png
          2015-12-25_09.44.35.png
          53 kB
        34. 2015-12-25_09.44.42.png
          2015-12-25_09.44.42.png
          241 kB
        35. 2015-12-29_17.57.41.png
          2015-12-29_17.57.41.png
          430 kB
        36. 2015-12-29_17.58.05.png
          2015-12-29_17.58.05.png
          264 kB
        37. 2016-01-08_18.26.40.png
          2016-01-08_18.26.40.png
          643 kB
        38. 2016-02-05_20.19.10.png
          2016-02-05_20.19.10.png
          1.04 MB
        39. 2016-02-05_20.19.12.png
          2016-02-05_20.19.12.png
          1.03 MB
        40. 2016-04-24_23.31.48.png
          2016-04-24_23.31.48.png
          37 kB
        41. 2016-06-28_19.38.50.png
          2016-06-28_19.38.50.png
          511 kB
        42. 2017-06-17_14.51.29.png
          2017-06-17_14.51.29.png
          330 kB
        43. 2017-06-17_14.53.09.png
          2017-06-17_14.53.09.png
          402 kB
        44. 4dddda7acbaf3d4aef48c5851d14dc00.png
          4dddda7acbaf3d4aef48c5851d14dc00.png
          277 kB
        45. 5b949f363fe1abc5c1009b6c217f7a29.png
          5b949f363fe1abc5c1009b6c217f7a29.png
          135 kB
        46. clouds_glass.jpg
          clouds_glass.jpg
          97 kB
        47. e3aa86b47f9227e3aa87434f0d578ace.png
          e3aa86b47f9227e3aa87434f0d578ace.png
          450 kB
        48. hitbox_player_shulker.png
          hitbox_player_shulker.png
          590 kB
        49. image.jpg
          image.jpg
          543 kB
        50. Screenshot_1.png
          Screenshot_1.png
          20 kB
        51. Screenshot_2.png
          Screenshot_2.png
          1.09 MB
        52. Screenshot_3.png
          Screenshot_3.png
          1.03 MB
        53. Screenshot_4.png
          Screenshot_4.png
          189 kB
        54. Screenshot_5.png
          Screenshot_5.png
          815 kB
        55. Screenshot_6.png
          Screenshot_6.png
          307 kB
        56. Screenshot_7.png
          Screenshot_7.png
          960 kB
        57. Screenshot_8.png
          Screenshot_8.png
          146 kB
        58. slime-blocks-clouds.png
          slime-blocks-clouds.png
          1.30 MB
        59. water_hitbox.jpg
          water_hitbox.jpg
          42 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                _zombiehunter zombie hunter
              • Votes:
                695 Vote for this issue
                Watchers:
                125 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: