Add a PlayerEntityPickEvent
#4766
Labels
Category: API
Related to the plugin API
Easy task
Probably really easy to do, good task for first-time contributors
Resolution: Implemented
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
Description
There's currently no way for a plugin to handle middle-clicking on an entity. In vanilla, this is used to acquire spawn eggs, which isn't currently implemented in PM. However, plugins may want to use this for other purposes.
Alternative methods
Handling packets? ah, the irony...
The text was updated successfully, but these errors were encountered: