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

Potion particles spread always from the center of a block, regardless of impact

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w08b, 21w15a, 21w16a, 21w18a, 21w20a, 1.17 Pre-release 1, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w15a, 22w18a, 22w19a, 1.19 Pre-release 2, 1.19, 1.19.1 Pre-release 1, 1.19.2, 1.19.3, 1.19.4
    • Confirmed
    • Particles
    • Low

    Description

      Would have expected them to emanate from the position of the thrown potion entity itself, as this is what happens with other thrown entities (snowballs, eggs, ...). Having it always appear at the center of a block would end up having them be generated at weird places when hitting entities.

      Remember to make sure to not use floats!

      Code analysis

      Code analysis can be found in this comment.

      Attachments

        1. 2020-06-15_18.44.03.png
          2020-06-15_18.44.03.png
          206 kB
        2. 2020-06-15_18.45.48.png
          2020-06-15_18.45.48.png
          303 kB
        3. 2020-06-15_18.45.45.png
          2020-06-15_18.45.45.png
          331 kB
        4. 2020-06-15_18.45.44.png
          2020-06-15_18.45.44.png
          324 kB
        5. MC-189857.mp4
          3.54 MB

        Activity

          People

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

            Dates

              Created:
              Updated:
              CHK: