Skip to content

Added GrindstoneExtractEvent#9761

Closed
notTamion wants to merge 1 commit into
PaperMC:masterfrom
notTamion:master
Closed

Added GrindstoneExtractEvent#9761
notTamion wants to merge 1 commit into
PaperMC:masterfrom
notTamion:master

Conversation

@notTamion
Copy link
Copy Markdown
Contributor

Adds an event that gets called before the ExperienceOrb is spawned because of using a Grindstone. Allows you to get a copy of the ItemStack, modify/get the amount of Experience and get the Player involved

Calling onTake with itemstack instead of itemstack1 should not be an issue since it is not used anywhere except in the onTake method of the resultslot (Calling the event). Though someone should probably double check that.

@notTamion notTamion requested a review from a team as a code owner September 25, 2023 15:29
@github-actions
Copy link
Copy Markdown

Please do not open pull requests from the master branch, create a new branch instead.

@github-actions github-actions Bot closed this Sep 25, 2023
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.

1 participant