Oh, slightly more confused.
I am simply trying to find a way to have mobEntity to be able to interact with an inventory object, whether is directly like a player with a chest to insert or withdraw items, or by special code maybe through an event that will alter the mobEntety inventory and object inventory.
As I am looking through mobEntity ai, tasks are limited to a point direct interaction is not possible, unless Capabilities can alter the behaviour that allows that.