ClickType
Namespace Mc.Scripting · Kind enum
public enum ClickType : byteHow an inventory slot was clicked (vanilla ContainerInput folded with the button).
Members
Section titled “Members”| Name | Value | Description |
|---|---|---|
Left |
0 | Left click. |
ShiftLeft |
1 | Shift + left click (quick move). |
Right |
2 | Right click. |
ShiftRight |
3 | Shift + right click (quick move). |
Middle |
4 | Middle click (clone, creative). |
NumberKey |
5 | A hotbar number key (swap). |
DoubleClick |
6 | Double click (collect to cursor). |
Drop |
7 | Drop key over a slot. |
ControlDrop |
8 | Control + drop key over a slot (whole stack). |
WindowBorderLeft |
9 | Left click outside the window (drops the cursor stack). |
WindowBorderRight |
10 | Right click outside the window (drops one). |
SwapOffhand |
11 | Swap with the off hand (F key). |
Unknown |
12 | Anything else. |
Drag |
13 | The end of a drag over several slots (only delivered to MenuClick, which has no InventoryDrag counterpart for locked menus). |