Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
InventoryAction.java
1 package org.bukkit.event.inventory;
2 
3 /**
4  * An estimation of what the result will be.
5  */
6 public enum InventoryAction {
7 
8  /**
9  * Nothing will happen from the click.
10  * <p>
11  * There may be cases where nothing will happen and this is value is not
12  * provided, but it is guaranteed that this value is accurate when given.
13  */
15  /**
16  * All of the items on the clicked slot are moved to the cursor.
17  */
19  /**
20  * Some of the items on the clicked slot are moved to the cursor.
21  */
23  /**
24  * Half of the items on the clicked slot are moved to the cursor.
25  */
27  /**
28  * One of the items on the clicked slot are moved to the cursor.
29  */
31  /**
32  * All of the items on the cursor are moved to the clicked slot.
33  */
35  /**
36  * Some of the items from the cursor are moved to the clicked slot
37  * (usually up to the max stack size).
38  */
40  /**
41  * A single item from the cursor is moved to the clicked slot.
42  */
44  /**
45  * The clicked item and the cursor are exchanged.
46  */
48  /**
49  * The entire cursor item is dropped.
50  */
52  /**
53  * One item is dropped from the cursor.
54  */
56  /**
57  * The entire clicked slot is dropped.
58  */
60  /**
61  * One item is dropped from the clicked slot.
62  */
64  /**
65  * The item is moved to the opposite inventory if a space is found.
66  */
68  /**
69  * The clicked item is moved to the hotbar, and the item currently there
70  * is re-added to the player's inventory.
71  */
73  /**
74  * The clicked slot and the picked hotbar slot are swapped.
75  */
77  /**
78  * A max-size stack of the clicked item is put on the cursor.
79  */
81  /**
82  * The inventory is searched for the same material, and they are put on
83  * the cursor up to {@link org.bukkit.Material#getMaxStackSize()}.
84  */
86  /**
87  * An unrecognized ClickType.
88  */
90  ;
91 }