Skip to content

Add GrindstoneDisenchantEvent (#13900)#13990

Open
Spunyyy wants to merge 1 commit into
PaperMC:ver/26.1.2from
Spunyyy:feature/grindstone-event
Open

Add GrindstoneDisenchantEvent (#13900)#13990
Spunyyy wants to merge 1 commit into
PaperMC:ver/26.1.2from
Spunyyy:feature/grindstone-event

Conversation

@Spunyyy

@Spunyyy Spunyyy commented Jun 26, 2026

Copy link
Copy Markdown

Closes #13900

Features

  • Event Purpose: Allows plugins to monitor, modify, or cancel the disenchanting/repair action inside the grindstone.
  • Experience Control: Plugins can read and modify the amount of experience dropped from the action via getExperience() and setExperience().
  • Bulletproof Cancellation: The cancellation handling correctly covers standard clicks, Shift-clicks (via quickMoveStack), and dropping the item using the drop key (via ContainerInput.THROW), preventing any item duplication or ghost item bugs.

@Spunyyy Spunyyy requested a review from a team as a code owner June 26, 2026 00:44
@github-project-automation github-project-automation Bot moved this to Awaiting review in Paper PR Queue Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Awaiting review

Development

Successfully merging this pull request may close these issues.

1 participant