Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BreakEvent Check to harvesting #42

Open
Caltinor opened this issue Apr 28, 2021 · 0 comments
Open

Add BreakEvent Check to harvesting #42

Caltinor opened this issue Apr 28, 2021 · 0 comments

Comments

@Caltinor
Copy link

Hello,

This is a request to add a BreakEvent check in CropHarvest.java.

The purpose would be to allow other mods to capture harvest events from right clicks in a way that is cancellable and or trackable. Use cases would include protection mods that might want to prevent harvesting under certain conditions, and/or stat tracking mods that want to properly deliver awards to players for harvest actions.

I am willing to build a PR for this, if that is your preference.

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

No branches or pull requests

1 participant