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 FallingBlockDropAsItemEvent #10142

Closed

Conversation

Esophose
Copy link
Contributor

@Esophose Esophose commented Jan 7, 2024

Added a FallingBlockDropAsItemEvent to allow modifying or cancelling the item that is dropped when a falling block either expires or is unable to form a block.

As far as I can tell it isn't possible through any other means to associate the FallingBlock with the item that is being spawned, hence this event.

@Esophose Esophose requested a review from a team as a code owner January 7, 2024 04:53
@lynxplay
Copy link
Contributor

lynxplay commented Jan 7, 2024

Unless I am missing something here but https://jd.papermc.io/paper/1.20/org/bukkit/event/entity/EntityDropItemEvent.html exists 😅

@Esophose
Copy link
Contributor Author

Esophose commented Jan 7, 2024

That somehow evaded the minds of 3 different people https://canary.discord.com/channels/289587909051416579/555462289851940864/1193064729321685072

@Esophose Esophose closed this Jan 7, 2024
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.

2 participants