You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Players should not gain XP when mining while triggering the shift-right-click-repairs-mending-point functionality, which requires holding shift + left and right mouse buttons all at once.
Observed/Actual behavior
If a player's mending pickaxe is at full durability, they will gain XP from mining any block while sneaking + holding left and right mouse buttons, even blocks that do not provide XP.
Player provided video:
2025-08-13_13-18-22_10M.mp4
Steps/models to reproduce
Acquire a full durability mending pickaxe
Sneak
Mine a block that doesn't not provide XP while holding both mouse buttons and continuing to sneak
Observe how the tool is repaired and you gains XP
Purpur version
This server is running Purpur version 1.21.8-2489-HEAD@4fd4df07 (2025-08-12T23:36:00Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
I have searched for and ensured there isn't already an open issue regarding this.
I ticked all the boxes without actually reading them
My version of Minecraft is supported by Purpur.
Other
After a quick look at the code, the problem seems to be that an XP orb for the full configured points value is always dropped, while the player only has 2 XP taken from them if the tool has only lost one durability.
Spark link
https://spark.lucko.me/1xBg8USMgj
Expected behavior
Players should not gain XP when mining while triggering the
shift-right-click-repairs-mending-pointfunctionality, which requires holding shift + left and right mouse buttons all at once.Observed/Actual behavior
If a player's mending pickaxe is at full durability, they will gain XP from mining any block while sneaking + holding left and right mouse buttons, even blocks that do not provide XP.
Player provided video:
2025-08-13_13-18-22_10M.mp4
Steps/models to reproduce
Purpur version
This server is running Purpur version 1.21.8-2489-HEAD@4fd4df07 (2025-08-12T23:36:00Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
Agreements
Other
After a quick look at the code, the problem seems to be that an XP orb for the full configured points value is always dropped, while the player only has 2 XP taken from them if the tool has only lost one durability.