I'm writing a plugin on Rocket

Hi! I’m writing a Rocket plugin. I can’t figure out how to do 2 things:

  1. I need an Event that will be triggered when the player takes an item in the hand slot
  2. How to move an item that is in the player’s hands back to his inventory?