Skip to content

MenuClickType

Namespace Mc.Scripting.Inventories · Kind enum

public enum MenuClickType : int

The kind of a click in a menu.

Name Value Description
Left 0 A plain left click.
Right 1 A plain right click.
ShiftClick 2 Shift plus click.
NumberKey 3 A number key swap.
DoubleClick 4 A double click.
Drop 5 A drop key.
Drag 6 The end of a drag over the player’s own slots (MenuClick.Slot is the first dragged slot; a drag over one of the menu’s own slots is denied by the engine before any handler sees it).
Middle 7 A middle click (the creative clone click).
SwapOffhand 8 The off hand key over a slot.
ControlDrop 9 Control plus the drop key (the whole stack).
Outside 10 A click outside the window (drops the cursor stack).
Unknown 11 Anything else.