Advertisement
riking

InventoryClickEvent

Apr 13th, 2013
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.84 KB | None | 0 0
  1. These are the click actions in Packet 102:
  2.  
  3.  - Shift=0
  4.     - Button 0 = Left Mouse
  5.     - Button 1 = Right Mouse
  6.  - Shift=1
  7.     - Button 0 = Shift + Left Mouse
  8.     - Button 1 = Shift + Right Mouse (identical behavior to shiftleft)
  9.  - Shift=2
  10.     - Button 0-8 = Hotbar key (1-9)
  11.  - ===EVERYTHING BELOW THIS IS NEW IN 1.5 ===
  12.  - Shift=3
  13.     - Button 2 = Middle Mouse (creative copystack)
  14.  - Shift=4
  15.     - Slot = -999
  16.       - Button 0: Left click outside inventory holding nothing
  17.       - Button 1: Right click outside inventory holding nothing
  18.     - Slot != -999
  19.       - Button 0: Q key (drop item)
  20.       - Button 1: Ctrl-Q key (drop stack)
  21.  - Shift=5
  22.     - Button 0, 4: Left, Right drag start
  23.     - Button 1, 5: Left, Right drag slot pick
  24.     - Button 2, 6: Left, Right drag stop
  25.  - Shift=6
  26.     - Any button: Double left click (collect items)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement