Players are able to Riptide without calling PlayerRiptideEvent [Reopened from #11676]
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
Player riptides and swaps to another item, animation still appears and PlayerRiptideEvent is called.
Observed/Actual behavior
Player riptides and swaps to another item, no animation appears, and PlayerRiptideEvent is not called, however their character is as if they did Riptide.
Specifically, pressing the offhand key as the player riptides circumvents whatever 'fix' someone added for this.
Steps/models to reproduce
- Get trident with riptide
- Go in water, hold down right click
- Release, and press key to transfer to offhand (default is F)
Plugin and Datapack List
N/A
Paper version
This server is running Paper version 1.21.7-9-main@5661fbb (2025-06-30T19:43:31Z) (Implementing API version 1.21.7-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-106-ab1b312 (MC: 1.21.4)
Other
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the offhand-key sequence described here on Paper 1.21.7, then compare the behavior and prior fix discussed in issue #11676. Trace the trident Riptide handling and PlayerRiptideEvent dispatch; done means the animation remains visible and the event is called when the player swaps items during Riptide.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100