mojira.dev
MC-267296

Player movement is not disabled during the attack animation of a riptide trident

The player is able to walk or run during the riptide animation. While this doesn't appear too unusual in first-person considering the player cannot see the external animation, it is definitely unusual from the third-person perspective, and gameplay-wise.

Steps to Reproduce:

  1. Give the player a riptide trident

    /give @p trident{Enchantments:[{id:"minecraft:riptide",lvl:3s}]} 1
  2. Set weather to rainy

    /weather rain
  3. Change camera to third-person

  4. Throw the trident while walking/running forward or downward

  5. Continue to walk/run during the animation

Observed & Expected Results:

❌ - The player is able to continue to walk/run during the length of the attack animation.
✔ - The player would not be able to walk/run because they are in the middle of an attack animation.

Screenshots/Videos:

[media][media]

Possible Fix(es):

This could be fixed by either putting the player back into the 'standing' state after they hit the ground when using a riptide trident (similar to how the elytra does the same), or disabling movement entirely until the player is standing upright again.

Notes:

  1. This issue causes the behavior described in MC-256421 and MC-197480

  2. Relates to MC-131492

  3. Discovered while testing MC-133573

Related issues

Attachments

Comments

migrated
[media][media]

[Mod] Jingy

(Unassigned)

Confirmed

Player Animation

animation, movement, riptide

1.20.4

Retrieved