1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
package org.bukkit.event.inventory;
/**
* An estimation of what the result will be.
*/
public enum InventoryAction {
/**
* Nothing will happen from the click.
* There may be cases where nothing will happen and this is value is
* not provided, but it is guaranteed that this value is accurate
* when given.
*/
NOTHING,
/**
* All of the items on the clicked slot are moved to the cursor.
*/
PICKUP_ALL,
/**
* Some of the items on the clicked slot are moved to the cursor.
*/
PICKUP_SOME,
/**
* Half of the items on the clicked slot are moved to the cursor.
*/
PICKUP_HALF,
/**
* One of the items on the clicked slot are moved to the cursor.
*/
PICKUP_ONE,
/**
* All of the items on the cursor are moved to the clicked slot.
*/
PLACE_ALL,
/**
* Some of the items from the cursor are moved to the clicked slot
* (usually up to the max stack size).
*/
PLACE_SOME,
/**
* A single item from the cursor is moved to the clicked slot.
*/
PLACE_ONE,
/**
* The clicked item and the cursor are exchanged.
*/
SWAP_WITH_CURSOR,
/**
* The entire cursor item is dropped.
*/
DROP_ALL_CURSOR,
/**
* One item is dropped from the cursor.
*/
DROP_ONE_CURSOR,
/**
* The entire clicked slot is dropped.
*/
DROP_ALL_SLOT,
/**
* One item is dropped from the clicked slot.
*/
DROP_ONE_SLOT,
/**
* The item is moved to the opposite inventory if a space is found.
*/
MOVE_TO_OTHER_INVENTORY,
/**
* The clicked item is moved to the hotbar, and the item currently
* there is re-added to the player's inventory.
*/
HOTBAR_MOVE_AND_READD,
/**
* The clicked slot and the picked hotbar slot are swapped.
*/
HOTBAR_SWAP,
/**
* A max-size stack of the clicked item is put on the cursor.
*/
CLONE_STACK,
/**
* The inventory is searched for the same material, and they are put
* on the cursor up to {@link org.bukkit.Material#getMaxStackSize()}.
*/
COLLECT_TO_CURSOR,
/**
* An unrecognized ClickType.
*/
UNKNOWN,
;
}
|