Firework Rockets Fired From Crossbows Fire Below Crosshair
When firing the Crossbow, with rockets, the rockets will fire slightly under the player's crosshair, making aiming a bit annoying.
What I expected to happen was...:
I expected it to come directly from the crosshair, as that would make the most sense to me.
What actually happened was...:
Instead, it comes out from underneath the crosshair, often getting stuck on blocks instead of going where you wwere aiming.
Steps to Reproduce:
1. Put a crossbow in your mainhand.
2. Put firework rockets in your offhand.
3. Load the crossbow.
4. Fire while standing on the ground, and pay close attention.
Linked Issues
is duplicated by1
Created Issue:
Firework Rockets Fired From Crossbows Fire Below Crosshair
When firing the Crossbow, with rockets, the rockets will fire slightly under the player's crosshair, making aiming a bit annoying.
What I expected to happen was...:
I expected it to come directly from the crosshair, as that would make the most sense to me.What actually happened was...:
Instead, it comes out from underneath the crosshair, often getting stuck on blocks instead of going where you wwere aiming.Steps to Reproduce:
1. Put a crossbow in your mainhand.2. Put firework rockets in your offhand.
3. Load the crossbow.
4. Fire, and pay close attention.
Environment
Windows 10, Java 8
When firing the Crossbow, with rockets, the rockets will fire slightly under the player's crosshair, making aiming a bit annoying.
What I expected to happen was...:
I expected it to come directly from the crosshair, as that would make the most sense to me.What actually happened was...:
Instead, it comes out from underneath the crosshair, often getting stuck on blocks instead of going where you wwere aiming.Steps to Reproduce:
1. Put a crossbow in your mainhand.2. Put firework rockets in your offhand.
3. Load the crossbow.
4. Fire while standing on the ground, and pay close attention.
is duplicated by
Windows 10, Java 8
This is likely happening for the same reason as MC-137643. If you want the firework to hit something, aim a little higher up than you think. When you use the crossbow to fire a firework into the sky, it actually flies up in the air as expected, rather than sliding along the ground (which might be out of the player's view).
Cannot confirm. The firework is launched below the crosshair, just as described in MC-137643. It can later fly above the crosshair, however.
Still in snapshot 19w07a. I think I know what the issue is, though! It's the constant gravity that affects all entities in the world. It's not noticed with entities like arrows and snowballs because they have an arc, but it's seen with the firework rocket because it just goes straight.
I hope this helps you, Cory!
Came across the bug while experimenting with firework loaded crossbows in 19w09a!
Though I noticed something weird: a flying player in creative mode is not affected by the bug, fireworks shoot right where they're aimed at. The moment you are on the ground the bug reappears.
Note: I also tried it with arrows, but the results were consistent...
Hope this helps further <3
Yeah, I'm pretty sure the constant gravity applied server-side to entities doesn't get applied to players in creative mode, and that's why it works fine for them. I think the firework rockets just need to not account for player movement, for best results in game.
Can no longer reproduce in 19w13b. The fireworks now shoot in the direction of the crosshair.
Affects 21w07a