Skip to content

1.21.1 nf animator fix#462

Merged
alRex-U merged 1 commit intoalRex-U:1.21.1-NFfrom
XM666-Dev:1.21.1-NF-ANIMATOR-FIX
Feb 12, 2026
Merged

1.21.1 nf animator fix#462
alRex-U merged 1 commit intoalRex-U:1.21.1-NFfrom
XM666-Dev:1.21.1-NF-ANIMATOR-FIX

Conversation

@XM666-Dev
Copy link

This PR adds a proper end transition to the Slide animation, implementing the intent of #442
using the Animator system as a more robust solution.

For the Slide action:

The player's swimAmount is cleared when the action stops to eliminate interference from the vanilla swimming animation.

SlidingAnimator now applies a short inverse animation (5 ticks) after the action ends, creating a smoother visual transition instead of an abrupt stop.

Additionally, this PR fixes an issue in JumpChargingAnimator that caused the charging animation to become visually choppy near the end.

The root cause was improper handling of partial ticks after charging stopped:

The integer charging tick was decrementing as expected,

but the partial tick continued increasing,
resulting in inconsistent accumulated values and visible jitter.

This PR resolves the issue by reversing the partial tick progression when not charging, ensuring smooth interpolation during the release phase.

Fix JumpChargingAnimator choppy at end
@alRex-U alRex-U changed the base branch from main to 1.21.1-NF February 12, 2026 02:55
@alRex-U alRex-U merged commit 0524ae3 into alRex-U:1.21.1-NF Feb 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants