summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorriking <rikingcoding@gmail.com>2013-04-13 18:17:27 -0700
committerNate Mortensen <nate.richard.mortensen@gmail.com>2013-06-03 17:57:14 -0600
commitc1cd6ec06de7b7d9285cecc39d39d311dc92ffa5 (patch)
treeb392ffcca09c1a1234d3b69efe4914904c176844 /README.md
parenta0b31825391355b962497a80c8790029feecd63d (diff)
downloadbukkit-c1cd6ec06de7b7d9285cecc39d39d311dc92ffa5.tar
bukkit-c1cd6ec06de7b7d9285cecc39d39d311dc92ffa5.tar.gz
bukkit-c1cd6ec06de7b7d9285cecc39d39d311dc92ffa5.tar.lz
bukkit-c1cd6ec06de7b7d9285cecc39d39d311dc92ffa5.tar.xz
bukkit-c1cd6ec06de7b7d9285cecc39d39d311dc92ffa5.zip
Improve events for new inventory features. Adds BUKKIT-3859
This commit brings the InventoryClickEvent up to date with the new Minecraft changes in 1.5. InventoryDragEvent (thanks to @YLivay for his PR) is added to represent the new "dragging" or "painting" functionality, where if you hold an itemstack and click-drag over several slots, the items will be split evenly (left click) or 1 each (right click). The ClickType enum is used to represent what the client did to trigger the event. The InventoryAction enum is reserved for future expansion, but will be used to indicate the approximate result of the action. Additionally, handling of creative inventory editing is improved with the new InventoryCreativeEvent, and handling of numberkey presses is also improved within InventoryClickEvent and CraftItemEvent. Also, cancelling a creative click now displays properly on the client. Adresses BUKKIT-3692, BUKKIT-4035, BUKKIT-3859 (new 1.5 events), BUKKIT-2659, BUKKIT-3043, BUKKIT-2659, and BUKKIT-2897 (creative click events).
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions