mojira.dev
MC-65312

Projectiles stutter / glitch while flying

Prenotes: This bug is not due to lag!
It will happen if there is lag (client/server based) but it will occur either way

This bug concerns all projectiles, some more, some less.
I will list them and describe the symptoms:

Arrows:
This is only slightly noticeable and after the flew for a while
If you shoot them far away you can see that after ~2 seconds flight time they will sag/fall more than they would normaly do but just for one moment.
Look precisely and you will see that the arrow drops down for a bit

Snowballs:
Right after you shoot a snowball you can see the it will rise up.
Its like a stuttering and it will go up for a small distance, nothing the snowball would normally do they way you shoot it.
Also have a look at the gif file

Eggs: Same as snowballs

Ender Pearl: Same as snowballs

Eye of Ender:
They are also very stuttery and before they reach the top when they fly up, they will also make this "big rise" .
Another bug is that they are shot from the feet and not from the hand height

Throwable potions:
Kinda the same as snowballs. They are being slightly pushed up after you throw them

FireBall/FireCharge:
If you fire a fireball by a dispenser it will fly straight but right after you fire it, it stutters and then its accelerated very fast. So the "rise up" I mentioned before is in the horizontal direction.

This stuttering is not just annoying, you won't be able to hit over large distances as the accuracy is no longer stable.

Related issues

Attachments

Comments

migrated
[media]
kumasasa

Probably same cause as MC-58120 / MC-58640

migrated

Still an issue in 14w32d

---------------

I will add someting that may also relates to this bug. I think this might be the cause auf the stuttering.
If you change the "motion" nbt auf projectile entities, it will have different results - also explaining this bug.

Have a CMD-Block circuit clock which will change the motion of nearby entities.
In the folliwing command I changed the motion every time, so that it will fly in a cycle.
/entitydata @e[type=!Player] {Motion:[0:-0.75d,1:0.1d,2:-0.25d]}

If mobs, items and vehicles are affected, they will fly in a cycle very smooth and non stuttering.

However if arrows, snowballs, thrownpotions/xpbottles, enderpearls and eggs are affected,
they will be very, very laggy and stuttering.
I do know that you don't accept the "changing the motion with entitydata" thing but thats not the point.
The point is, that the reason these projetiles are sturring has something to do with this cause.

Some entities will be just fine, so it can be fixed. And I think be researching this symtom you may find the solution.

migrated

Still issue in 16w38a.

Sonicwave

Still an issue in 1.12.2. For me this mostly affects Blaze fireballs (not ghast fireballs), wither skulls and Ender charges and is extremely noticeable. Probably related to MC-80142

Sonicwave

Confirmed for 18w05a.

migrated

Affects 18w22c

migrated

Confirmed for 1.13.1.

migrated

Confirmed for 20w22a.
I made an attachment for the stuttering loyalty trident when returning. For 1 brief frame in the beginning the trident all the sudden did a 180 and turned left and then right afterwards. Then it lost it's enchantment glint for a second for 2 times, then it spazzes wildly as it returns to the inventory.

[media]

Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w07a.

ampolive

Can confirm in 1.17.1.

clamlol

As of 22w07a I can reproduce the following:

  • Arrows and snowball-type projectiles: Occasionally stutter, seems to happen mostly if not exclusively during descent

  • Eye of ender: Often jitters while moving upwards, the rise at the end is definitely intended though

  • Thrown potions: No issues I could find

  • Small fireballs/dragon fireballs/wither skulls: No issues I could find (except those described in MC-80142, but for the most part that bug only affects summoned projectiles)

  • Ghast fireballs: stutter when moving in water after being hit, probably separate from the above issues but could probably be included in this ticket

Avoma

Can confirm in 1.19.2.

migrated

In 23w33a

migrated

(Unassigned)

Confirmed

Platform

Normal

Projectiles, Rendering

Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32d, Minecraft 14w33c, Minecraft 14w34a, ..., 23w33a, 24w14a, 1.21 Pre-Release 2, 1.21, 1.21.4

Retrieved