Mojira Archive
MC-277906

Ender pearls landing incorrectly at high speeds

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.

Unresolved

thedustbustr

2024-10-29, 04:51 AM

2024-12-03, 10:30 PM

6

4

Confirmed

Important

Platform

Projectiles

1.21.3, 1.21.4

-