mojira.dev
MC-304769

Kinetic weapon use animation breaks when the knockback max duration is 20 ticks longer than the dismount max duration

The spear use animation was updated in this release candidate, but the new animation uses hardcoded tick differences instead of relying only on scaled progress.

This effectively creates an artificial lower limit of 20 ticks between the knockback and dismount max durations for custom spear-like items as the animation breaks if it goes any lower, despite it being completely expected behavior in previous versions (most spear types had a 20 tick difference between the knockback and dismount max durations before rc1).

Steps to Reproduce:

  1. Load up an older snapshot or pre-release

  2. Execute the following command: /give @s netherite_spear[minecraft:kinetic_weapon={forward_movement:0.38,delay:8,dismount_conditions:{max_duration_ticks:50},knockback_conditions:{max_duration_ticks:70},damage_conditions:{max_duration_ticks:175}}]

  3. Use the spear and watch its animation play out fully

  4. Load up 1.21.11 Release Candidate 1

  5. Use the same spear and watch its animation play out fully

Observed Results:
The animation breaks with the knockback max duration being 20 ticks longer than the dismount max duration.

Expected Results:
The animation only breaks if the knockback max duration is lower than the dismount max duration.

Notes:

Attachments

Comments 2

Can confirm. The issue is most visible at the transition point from “spear held straight” to “spear held sideways” in first person. There is just no rotation transition at all in RC1, while the rotation transition works perfectly in pre2.

[Mod] LateLag

(Unassigned)

1529258

Confirmed

Expansion A

Normal

Items

1.21.11 Release Candidate 1

Retrieved