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:
Load up an older snapshot or pre-release
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}}]Use the spear and watch its animation play out fully
Load up 1.21.11 Release Candidate 1
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: