Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Reference `InventoryDragEvent` in `InventoryClickEvent` javadoc

Open imDaniX opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

There's no info in InventoryClickEvent javadoc about InventoryDragEvent being called instead when player clicks and drags their cursor. Many developers with no experience with inventory API just don't know this behavior and there's no info about it in the documentation.

Describe the solution you'd like.

Reference InventoryDragEvent in InventoryClickEvent javadoc mentioning the behavior. The @see tag would also be appreciated.

Describe alternatives you've considered.

I'm just mentioning the event myself when there are any related issues.

Other

No response

imDaniX avatar Feb 01 '24 10:02 imDaniX

Yeah, this is probably a good thing to do. Especially since craftbukkit breaks the drag behavior making the drag event fire if you move your mouse even one pixel between mousedown and mouseup.

Machine-Maker avatar Feb 02 '24 03:02 Machine-Maker