mojira.dev
MC-270077

When attacking entities with a mace while falling, resetting vertical momentum also resets camera rotation

When using a mace to reduce vertical momentum while swiftly turning during a fall, attacking an entity can impede camera rotation. This issue is related to MC-268998. In the video, despite attempting to turn right, attacking the giant caused the camera to revert back to the left.

steps to reproduce

  1. /summon minecraft:giant

    (Although I understand that giants are unsupported mobs, this issue can be replicated with any other mob. I'm simply utilizing giants because it's easier to reproduce this behavior with them due to their larger hitbox.)

  2. /attribute @s minecraft:player.entity_interaction_range base set 64
  3. Look at the giant

  4. Swiftly strike the giant with a mace and adjust your camera angle

It may require several attempts before you can easily notice it.

Observed: Occasionally, your camera movement is reset.
Expected: The momentum reset should have no impact on the camera rotation whatsoever.

Linked issues

Attachments

Comments 7

Please update the description with steps to reproduce this issue and expected VS observed results. Please also upload a new video showing this, rather than 3 seconds of footage.

When trying to follow the steps to reproduce, I couldn't seem to get any unnatural camera movement:

[media]

Video is full speed, the game is slowed down to a tick rate of 2 to make the issue easier to reproduce.

As mentioned in the description this can take a few tries. There is already a video showing that the issue exists. It is probably best to set the Confirmation Status to plausible. I recommend reproducing it using a regular tick rate. (Might work with lower tick rate too.)
Additionally, in the video, you (@unknown) commence rotating the camera after attacking the giant. Hence, you evidently cannot reproduce the issue. It's essential to attack the giant while simultaneously rotating the camera.

Jiingy

In order to reproduce this, I believe you may have to increase you're sensitivity, this makes it easier to attack the giant while rotating the camera.

 

Would you consider this to be reproducing the issue properly?

[media]

@unknown Yeah that is the correct way of reproducing it I believe, his camera rotation was a bit faster, but still correct.

Also affects 24w14a, I would like to request ownership if possible to keep the report updated.

That weird

(Unassigned)

1226625

Confirmed

Expansion B

Camera, Items, Player

24w13a

Retrieved