namespace Minecraft.Server.FourKit.Event.Inventory; /// /// An estimation of what the result will be. /// public enum InventoryAction { /// Nothing will happen from the click. 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 Material.getMaxStackSize(). COLLECT_TO_CURSOR, /// An unrecognized ClickType. UNKNOWN, }