Here's a guide on how to make an inventory listener. I don't think the bot offers it in the API, but you will see how simple it can be. The architecture of the following classes can be made better but this is how I've done it on my first try.
(There wont be much explanation)
Main Class:
-Implements Observer -> Interface we made
-Exchanges context since we extend MethodProvider
-Sets the observer as the Main class
InventoryListener Class
Note: I thin