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

Ender pearls landing incorrectly at high speeds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.3, 1.21.4
    • None
    • Confirmed
    • Projectiles
    • Important
    • Platform

      Ender pearls landing incorrectly at high speeds

       

      When at high speeds, ender pearls land in the wrong position. This seems to have become a problem in 24w39a. This is shown in the attached videos. To test this, I used an ender pearl cannon, which I have also left a world download for versions 1.21.1 and 1.21.3. One possible solution I found I implemented into a fabric mod https://github.com/Thedustbustr/Carpet-Extra-Extras/blob/release(1.21.3-b1.1.0)/src/main/java/net/thedustbuster/mixin/ThrowableProjectileMixin.java and https://github.com/Thedustbustr/Carpet-Extra-Extras/blob/release(1.21.3-b1.1.0)/src/main/java/net/thedustbuster/mixin/ThrownEnderpearlMixin.java. It seems to have to do with in which order the pearl's collision is detected and when the pearls position/velocity are changed.

       

      World Download: https://drive.google.com/file/d/1_Ajm-xBFWStn9t06yEdqrNj9BdMqzgbj/view?usp=sharing

       

      Steps to reproduce:

      1. In some way (in my case an ender pearl cannon) get an ender pearl to very high speeds.
      2. See the players landing position.
      3. In 1.21.1, it was far more accurate.

        1. 1.21.1.mp4
          6.15 MB
        2. 1.21.3.mp4
          6.35 MB

            Unassigned Unassigned
            thedustbustr thedustbustr
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: