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

Many cases of particles losing precision at high coordinates e.g. entity landing particles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13.2, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 5, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 1.14.4, 19w35a, 19w36a, 19w37a, 19w38b, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45a
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Networking, Particles, Rendering
    • Mojang Priority:
      Low

      Description

      The bug

      There are many instances of particles which end up losing numerical precision at high coordinates due to the usage of 32-bit floating point numbers. These can be seen clearly beyond 16,777,216 blocks from the world origin where they can be up to two blocks off, and become increasingly severe if the game is modded as to allow the player to travel beyond the 30,000,000 world border, reaching precision losses of 128 blocks.

      This ticket only lists particles that could not be fixed by a client mod without having to rewrite the server particle packet. Several other particle precision issues are kept in other separate tickets as the precision loss is client-side and can be traced to the block instead.

      This affects the following particles:

      • The /particle command
      • Particles produced when an entity falls from a height
      • Particles produced from breaking armour stands
      • Particles produced from mobs damaged by the player (dark hearts)
      • Particles produced from sweep attacks

      There are many other instances which can be fixed without rewriting the server particle packet, as the block itself is at fault (I originally had these in separate tickets due to the wide range of sources of precision loss but Mojang didn't seem happy with it):

      • Particles from using bone meal
      • Particles from barriers
      • Black particles from TNT explosions
      • Particles from brewing stands
      • Particles from spawners
      • Underwater suspension particles
      • Mycelium particles
      • Particles from suspended gravity affected blocks
      • Particles from nether portals
      • Particles from end portals

        Attachments

        1. 2015-01-20_05.38.18.png
          2015-01-20_05.38.18.png
          347 kB
        2. 2015-01-20_05.40.32.png
          2015-01-20_05.40.32.png
          266 kB
        3. 2019-10-02_16.00.29.png
          2019-10-02_16.00.29.png
          334 kB
        4. 2019-10-02_16.00.46.png
          2019-10-02_16.00.46.png
          542 kB
        5. 2019-10-02_16.00.58.png
          2019-10-02_16.00.58.png
          919 kB
        6. 2019-10-02_16.01.27.png
          2019-10-02_16.01.27.png
          746 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Awesoman3000 Connor Steppie
              • Votes:
                8 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: