Player actions should also reset attack strength
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
Attack strength should be reset on player actions (such as item swap)
This should be an extension of https://github.com/PaperMC/paper/issues/12257
Observed/Actual behavior
it doesn't reset
Steps/models to reproduce
Reproduce steps are same to https://github.com/PaperMC/paper/issues/12257
Plugin and Datapack List
[02:32:44 INFO]: Server Plugins (5):
[02:32:44 INFO]: Bukkit Plugins:
[02:32:44 INFO]: - AuthMe, ForceResourcepacks, SkinsRestorer, ViaBackwards, ViaVersion
Paper version
version
[02:29:59 INFO]: Checking version, please wait...
[02:30:00 INFO]: This server is running Paper version 1.21.4-222-main@9b1798d (2025-03-27T13:35:40Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-211-6ea4202 (MC: 1.21.4)
Other
No response
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 reading the linked issue #12257 and reproduce the same scenario, including an item swap. Trace where attack strength is updated during player actions and verify that the affected actions reset it. Done means the reported actions reset attack strength consistently without breaking the existing behavior.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100