MinecraftForge
MinecraftForge copied to clipboard
[1.16.x] Added ways to filter PlayerInteractEvent.LeftClickBlock Actions
A quick and simple fix for how PlayerInteractEvent.LeftClickBlock fires on unfiltered on all 3 actions (https://github.com/MinecraftForge/MinecraftForge/issues/8643).
This is an implementation of the solution proposed by KnightMiner (https://github.com/MinecraftForge/MinecraftForge/issues/8643#issuecomment-1143084781).
Is this through GitHub editor? Did you test your changes?
Apologies, I meant to make this a draft. This is not yet ready for a merge
just tested, it does work
As a new feature this needs to be added to latest before it can be added to an LTS version, additionally this is a breaking change as-is (removal of constructors is breaking). You'll need to deprecate those instead.
Hello! @DabbingEevee, please leave a comment whether you wish to continue this PR and update it to the latest active version of 1.19.2 (or leave an explanation why this PR's changes are not applicable to 1.19.2). If we do not hear back from you after some time, this PR will be closed for inactivity.
If anyone else wishes to continue the work of this PR, please create a PR with a link to this PR for reference. Thank you for your contributions. 👋
Hello! As per my previous comment, we will be closing this PR for inactivity. If you or another contributor wishes to continue the work of this PR, please create a new PR with a link to this PR for reference. Thank you for your contributions. 👋