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

Casting issue: Bone meal particles break at high coordinates (floating point precision)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 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, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a
    • 20w12a
    • Confirmed
    • Networking, Particles, Rendering
    • Low

    Description

      The bug

      Particles generated by using bone meal on blocks that can accept it end up losing precision at high enough coordinates, especially beyond 2^24 or 16,777,216 blocks.

      A fix for bone meal can be found here: https://github.com/polgaria/FarLands/blob/19w44a/src/main/java/site/geni/farlands/mixins/client/item/BoneMealItemMixin.java

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                CHK: